mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
Change spaces to tabs
This commit is contained in:
parent
327dcb5f87
commit
35e28350bd
@ -1041,7 +1041,7 @@ function load_config_lua($filename)
|
||||
return $result;
|
||||
}
|
||||
|
||||
function str_replace_first($search, $replace, $subject) {
|
||||
function str_replace_first($search,$replace, $subject) {
|
||||
$pos = strpos($subject, $search);
|
||||
if ($pos !== false) {
|
||||
return substr_replace($subject, $replace, $pos, strlen($search));
|
||||
|
@ -6,7 +6,6 @@ namespace MyAAC;
|
||||
|
||||
class RateLimit
|
||||
{
|
||||
|
||||
public string $key;
|
||||
public int $max_attempts;
|
||||
public int $ttl;
|
||||
|
Loading…
x
Reference in New Issue
Block a user