Fix channel number in status command

This commit is contained in:
Mark Veidemanis 2019-03-17 01:22:21 +00:00
parent 488d81dac8
commit c05eb298ea
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class Stats:
for i in main.IRCPool.keys(): for i in main.IRCPool.keys():
if "".join([x for x in i if not x in digits]) == spl[1]: 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 found = True
numNodes += 1 numNodes += 1
if not found: if not found: