From c05eb298ea6dd78216cd5b2865c3a6566e24f824 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Sun, 17 Mar 2019 01:22:21 +0000 Subject: [PATCH] Fix channel number in status command --- commands/stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/stats.py b/commands/stats.py index 5b08b7e..6cdc3be 100644 --- a/commands/stats.py +++ b/commands/stats.py @@ -43,7 +43,7 @@ class Stats: for i in main.IRCPool.keys(): if "".join([x for x in i if not x in digits]) == spl[1]: - numChannels += len(main.IRCPool[spl[1]].channels) + numChannels += len(main.IRCPool[i].channels) found = True numNodes += 1 if not found: