mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-09 02:54:13 +01:00
A little logging change.
This commit is contained in:
parent
542259fcd7
commit
e869cf7660
@ -53,7 +53,7 @@ import callbacks
|
|||||||
class Misc(callbacks.Privmsg):
|
class Misc(callbacks.Privmsg):
|
||||||
priority = sys.maxint
|
priority = sys.maxint
|
||||||
def invalidCommand(self, irc, msg, tokens):
|
def invalidCommand(self, irc, msg, tokens):
|
||||||
self.log.debug('Misc.invalidCommand called')
|
self.log.debug('Misc.invalidCommand called (tokens %s)', tokens)
|
||||||
if conf.replyWhenNotCommand:
|
if conf.replyWhenNotCommand:
|
||||||
command = tokens and tokens[0] or ''
|
command = tokens and tokens[0] or ''
|
||||||
irc.error(msg, '%r is not a valid command.' % command)
|
irc.error(msg, '%r is not a valid command.' % command)
|
||||||
|
Loading…
Reference in New Issue
Block a user