From 23617cae535262d1a1e7515466266d6a50b3afcd Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Sat, 28 Jul 2018 21:44:13 +0100 Subject: [PATCH] Indicate online servers as well as the total --- commands/stats.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/stats.py b/commands/stats.py index 342f389..0bc7a09 100644 --- a/commands/stats.py +++ b/commands/stats.py @@ -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()