]> jfr.im git - erebus.git/blobdiff - bot.py
Fixed "db has gone away"
[erebus.git] / bot.py
diff --git a/bot.py b/bot.py
index 10be7f6a4908207091535cc1d05f4021c53eddd5..1c8aa02a4b26c8bf68355e24e75859c2f270b4d0 100644 (file)
--- a/bot.py
+++ b/bot.py
@@ -61,8 +61,7 @@ class Bot(object):
                        qt = pieces[3]
                        nick = pieces[4]
                        auth = pieces[5]
-                       if auth != '0':
-                               self.parent.user(nick).authed(auth)
+                       self.parent.user(nick).authed(auth)
 
                elif pieces[1] == "JOIN":
                        nick = pieces[0].split('!')[0][1:]