]> jfr.im git - erebus.git/commitdiff
remove no such command error
authorzonidjan <redacted>
Thu, 6 Feb 2014 14:47:59 +0000 (08:47 -0600)
committerzonidjan <redacted>
Thu, 6 Feb 2014 14:47:59 +0000 (08:47 -0600)
bot.py

diff --git a/bot.py b/bot.py
index 44181f4f293bb8b4f8037a45e96eee5ce03ae40f..ed8112b35178521e529cb8fe52c63f7299b1dfa5 100644 (file)
--- a/bot.py
+++ b/bot.py
@@ -114,8 +114,6 @@ class Bot(object):
                                        cbret = callback(self, user, chan, target, *pieces[1:])
                                        if cbret is NotImplemented:
                                                self.msg(user, "Command not implemented.")
-               else:
-                       self.msg(user, "No such command.")
 
        def msg(self, target, msg):
                if isinstance(target, self.parent.User): self.conn.send("NOTICE %s :%s" % (target.nick, msg))