Fix channel number in status command

pull/1/head
Mark Veidemanis 5 years ago
parent 488d81dac8
commit c05eb298ea

@ -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:

Loading…
Cancel
Save