From bec8f5488ee698c407a5141f91715a8e7aba57bb Mon Sep 17 00:00:00 2001 From: mercury Date: Sun, 8 Mar 2026 01:23:12 +0400 Subject: [PATCH] reset amnezia keys fix --- app/bot.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/bot.php b/app/bot.php index e19a11f..1f1d8c7 100644 --- a/app/bot.php +++ b/app/bot.php @@ -2084,8 +2084,8 @@ class Bot $amnezia = $c[$this->getInstanceWG(1) . 'amnezia'] = $c[$this->getInstanceWG(1) . 'amnezia'] ? 0 : 1; } else { $amnezia = 1; - unset($c['amnezia_keys']); - unset($c['presharedkey']); + unset($c[$this->getInstanceWG(1) . 'amnezia_keys']); + unset($c[$this->getInstanceWG(1) . 'presharedkey']); } $this->setPacConf($c);