Forgot to set the prioirity appropriately.

This commit is contained in:
Jeremy Fincher 2003-10-28 05:03:56 +00:00
parent 9dc16ee761
commit 5750480714

View File

@ -74,6 +74,7 @@ def reload(x=None):
replyWhenNotCommand = x
class Misc(callbacks.Privmsg):
priority = sys.maxint
def invalidCommand(self, irc, msg, tokens):
if conf.replyWhenNotCommand:
irc.error(msg, '%r is not a valid command.' % tokens[0])