small bugfix
This commit is contained in:
parent
4bfd8b2dd1
commit
e49deed71a
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.append(i.channel)
|
||||||
return len(channels)
|
return len(channels)
|
||||||
|
|
Loading…
Reference in New Issue