mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-27 01:39:22 +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;
|
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));
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user