Indicate online servers as well as the total
This commit is contained in:
parent
8300b86b32
commit
23617cae53
|
@ -15,7 +15,8 @@ class Stats:
|
||||||
numChannels += len(main.IRCPool[i].channels)
|
numChannels += len(main.IRCPool[i].channels)
|
||||||
for i in main.wholist.keys():
|
for i in main.wholist.keys():
|
||||||
numWhoEntries += len(main.wholist[i].keys())
|
numWhoEntries += len(main.wholist[i].keys())
|
||||||
stats.append("Servers: %s" % len(main.IRCPool.keys()))
|
stats.append("Servers: %s" % len(main.pool.keys()))
|
||||||
|
stats.append("Online ervers: %s" % len(main.IRCPool.keys()))
|
||||||
stats.append("Channels: %s" % numChannels)
|
stats.append("Channels: %s" % numChannels)
|
||||||
stats.append("User records: %s" % numWhoEntries)
|
stats.append("User records: %s" % numWhoEntries)
|
||||||
counterEvents = count.getEvents()
|
counterEvents = count.getEvents()
|
||||||
|
|
Loading…
Reference in New Issue