Bots renamed & stats fixed
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ foreach($tmp as $bfile) {
|
||||
}
|
||||
foreach($bots as $name => $bot) {
|
||||
$tmp = exec("ps ".$bot->pid);
|
||||
$bot->active = (int) (strpos($bot->pid, $tmp) !== false);
|
||||
$bot->active = (int) (strpos($tmp, strval($bot->pid)) !== false);
|
||||
}
|
||||
?>
|
||||
<html>
|
||||
|
||||
Reference in New Issue
Block a user