reset amnezia keys fix
This commit is contained in:
+2
-2
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user