reset amnezia keys fix

This commit is contained in:
mercury
2026-03-08 01:23:12 +04:00
parent f97b0f9228
commit bec8f5488e
+2 -2
View File
@@ -2084,8 +2084,8 @@ class Bot
$amnezia = $c[$this->getInstanceWG(1) . 'amnezia'] = $c[$this->getInstanceWG(1) . 'amnezia'] ? 0 : 1; $amnezia = $c[$this->getInstanceWG(1) . 'amnezia'] = $c[$this->getInstanceWG(1) . 'amnezia'] ? 0 : 1;
} else { } else {
$amnezia = 1; $amnezia = 1;
unset($c['amnezia_keys']); unset($c[$this->getInstanceWG(1) . 'amnezia_keys']);
unset($c['presharedkey']); unset($c[$this->getInstanceWG(1) . 'presharedkey']);
} }
$this->setPacConf($c); $this->setPacConf($c);