small bugfix

This commit is contained in:
randomuser 2021-07-21 00:19:26 -05:00
parent 4bfd8b2dd1
commit e49deed71a
1 changed files with 1 additions and 1 deletions

2
db.py
View File

@ -82,5 +82,5 @@ class DuckStats:
def channels(self, nick):
channels = set()
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)