mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Forgot to set the prioirity appropriately.
This commit is contained in:
parent
9dc16ee761
commit
5750480714
@ -74,6 +74,7 @@ def reload(x=None):
|
|||||||
replyWhenNotCommand = x
|
replyWhenNotCommand = x
|
||||||
|
|
||||||
class Misc(callbacks.Privmsg):
|
class Misc(callbacks.Privmsg):
|
||||||
|
priority = sys.maxint
|
||||||
def invalidCommand(self, irc, msg, tokens):
|
def invalidCommand(self, irc, msg, tokens):
|
||||||
if conf.replyWhenNotCommand:
|
if conf.replyWhenNotCommand:
|
||||||
irc.error(msg, '%r is not a valid command.' % tokens[0])
|
irc.error(msg, '%r is not a valid command.' % tokens[0])
|
||||||
|
Loading…
Reference in New Issue
Block a user