autoscan call fix
This commit is contained in:
+1
-1
@@ -1192,10 +1192,10 @@ class Bot
|
||||
try {
|
||||
$pac = $this->getPacConf();
|
||||
if (!empty($pac['autoscan'])) {
|
||||
$r = $this->analysisIp(return: 1);
|
||||
require __DIR__ . '/config.php';
|
||||
if (!empty($c['admin']) && (empty($this->time3) || ((time() - $this->time3) > $pac['autoscan_timeout']))) {
|
||||
$this->time3 = time();
|
||||
$r = $this->analysisIp(return: 1);
|
||||
if (!empty($r)) {
|
||||
foreach ($r as $k => $v) {
|
||||
foreach ($v as $i) {
|
||||
|
||||
Reference in New Issue
Block a user