A little logging change.

This commit is contained in:
Jeremy Fincher 2004-01-01 20:18:13 +00:00
parent 542259fcd7
commit e869cf7660

View File

@ -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)