Fix channel number in status command
This commit is contained in:
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…
Reference in New Issue