mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-02 15:44:06 +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):
|
||||
priority = sys.maxint
|
||||
def invalidCommand(self, irc, msg, tokens):
|
||||
self.log.debug('Misc.invalidCommand called')
|
||||
self.log.debug('Misc.invalidCommand called (tokens %s)', tokens)
|
||||
if conf.replyWhenNotCommand:
|
||||
command = tokens and tokens[0] or ''
|
||||
irc.error(msg, '%r is not a valid command.' % command)
|
||||
|
Loading…
Reference in New Issue
Block a user