Bots renamed & stats fixed

This commit is contained in:
magnolia-fan
2011-04-02 22:10:44 +04:00
parent 7f1932954c
commit 96eed6ac9e
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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>