Change spaces to tabs

This commit is contained in:
slawkens 2024-08-26 15:19:17 +02:00
parent 327dcb5f87
commit 35e28350bd
2 changed files with 93 additions and 94 deletions

View File

@ -1041,7 +1041,7 @@ function load_config_lua($filename)
return $result; return $result;
} }
function str_replace_first($search, $replace, $subject) { function str_replace_first($search,$replace, $subject) {
$pos = strpos($subject, $search); $pos = strpos($subject, $search);
if ($pos !== false) { if ($pos !== false) {
return substr_replace($subject, $replace, $pos, strlen($search)); return substr_replace($subject, $replace, $pos, strlen($search));

View File

@ -6,7 +6,6 @@ namespace MyAAC;
class RateLimit class RateLimit
{ {
public string $key; public string $key;
public int $max_attempts; public int $max_attempts;
public int $ttl; public int $ttl;