Indicate online servers as well as the total

This commit is contained in:
Mark Veidemanis 2018-07-28 21:44:13 +01:00
parent 8300b86b32
commit 23617cae53
1 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,8 @@ class Stats:
numChannels += len(main.IRCPool[i].channels)
for i in main.wholist.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("User records: %s" % numWhoEntries)
counterEvents = count.getEvents()