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: