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():
|
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:
|
||||||
|
|
Loading…
Reference in New Issue