]> jfr.im git - erebus.git/blobdiff - bot.py
Implement modlist, fix "no such cmd" error
[erebus.git] / bot.py
diff --git a/bot.py b/bot.py
index 55c205df6cdfc88068ba9a7231a76db05c4065e2..09df1dbc1547e99036f78e3553517000266a473f 100644 (file)
--- a/bot.py
+++ b/bot.py
@@ -121,8 +121,8 @@ class Bot(object):
                                        if cbret is NotImplemented:
                                                self.msg(user, "Command not implemented.")
                                        continue
-
-               self.msg(user, "No such command, or you don't have access.")
+               else:
+                       self.msg(user, "No such command, or you don't have access.")
 
        def msg(self, target, msg):
                if isinstance(target, self.parent.User): self.conn.send("NOTICE %s :%s" % (target.nick, msg))