From d492c5e4c9f835c6e4f7503430841c16aca4b77d Mon Sep 17 00:00:00 2001 From: pk910 Date: Thu, 28 Jul 2011 03:48:00 +0200 Subject: [PATCH] fixed small transfer bug in Stats.class.php --- Bots/Stats.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bots/Stats.class.php b/Bots/Stats.class.php index 6670485..7c83105 100644 --- a/Bots/Stats.class.php +++ b/Bots/Stats.class.php @@ -103,7 +103,7 @@ class {$_NAME} extends Bot { $servers = P10_Server::getServerCount(); rrd_update("db/network.rrd", time().":".$stats['total'].":".$channels.":".$stats['opers'].":".$servers); rrd_update("db/network-away.rrd", time().":".$stats['away'].":".$stats['here']); - foreach(uplink::$uplink->servers as $snum => $server) { + foreach(P10_Server::getServers() as $snum => $server) { $count = $server->getUserCount(); $fname="db/".$server->getName().".rrd"; if(!file_exists($fname)) { -- 2.20.1