From 50226b4a644c46bedc65023879c52b7b8994b859 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 27 Apr 2004 10:43:31 +0000 Subject: [PATCH] Added a log message when not answering due to supybot.reply.whenNotCommand. --- src/Misc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Misc.py b/src/Misc.py index 37d6a2a19..d457297a8 100755 --- a/src/Misc.py +++ b/src/Misc.py @@ -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))