diff --git a/app/bot.php b/app/bot.php index 995c99e..6daedf0 100644 --- a/app/bot.php +++ b/app/bot.php @@ -392,7 +392,7 @@ class Bot $clients = $this->readClients(); $server = $this->readConfig(); switch (true) { - case preg_match('~0~', $time): + case preg_match('~^0$~', $time): unset($clients[$client]['interface']['## time']); foreach ($server['peers'] as $k => $v) { if ($v['AllowedIPs'] == $clients[$client]['interface']['Address']) {