Added a log message when not answering due to supybot.reply.whenNotCommand.

This commit is contained in:
Jeremy Fincher 2004-04-27 10:43:31 +00:00
parent 623d71911f
commit 50226b4a64

View File

@ -60,6 +60,7 @@ class Misc(callbacks.Privmsg):
command = tokens and tokens[0] or ''
irc.error('%r is not a valid command.' % command)
else:
self.log.info('Not replying to %s, not a command.' % tokens[0])
if not isinstance(irc.irc, irclib.Irc):
irc.reply('[%s]' % ' '.join(tokens))