From 4af3e582581d0f77ee4c92a581529f684e2f1ba6 Mon Sep 17 00:00:00 2001 From: mercury Date: Sat, 10 Jun 2023 13:49:58 +0400 Subject: [PATCH] fix add subnet peer --- app/bot.php | 2 +- version | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/bot.php b/app/bot.php index 5afe5bd..5f35826 100644 --- a/app/bot.php +++ b/app/bot.php @@ -145,7 +145,7 @@ class Bot case preg_match('~^/subnetDelete (?P-?\d+(?:_-?\d+)?(?:_-?\d+)?)$~', $this->input['callback'], $m): $this->subnetDelete(...explode('_', $m['arg'])); break; - case preg_match('~^/addSubnets (?P\d+(?:_(?:-)?\d+)?)$~', $this->input['callback'], $m): + case preg_match('~^/addSubnets (?P-?\d+(?:_(?:-)?\d+)?)$~', $this->input['callback'], $m): $this->addSubnets(...explode('_', $m['arg'])); break; case preg_match('~^/changeAllowedIps (?P\d+(?:_(?:-)?\d+)?)$~', $this->input['callback'], $m): diff --git a/version b/version index 154e090..7cf048e 100644 --- a/version +++ b/version @@ -1,3 +1,5 @@ +10.06.2023 фикс добавления пира вг "список подсетей" +git pull 09.06.2023 фикс поведения кнопки подсетей git pull 07.06.2023 фикс рассинхрона пароля в ss