add a small fix in db.DuckStats.channels(...)
This commit is contained in:
parent
9dabdd7ac6
commit
65d84ce424
2
db.py
2
db.py
|
@ -82,5 +82,5 @@ class DuckStats:
|
||||||
def channels(self, nick):
|
def channels(self, nick):
|
||||||
channels = set()
|
channels = set()
|
||||||
for i in self.db.db:
|
for i in self.db.db:
|
||||||
if i.nick == nick: channels.append(i.channel)
|
if i.nick == nick: channels.add(i.channel)
|
||||||
return len(channels)
|
return len(channels)
|
||||||
|
|
Loading…
Reference in New Issue