mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
Added a log message when not answering due to supybot.reply.whenNotCommand.
This commit is contained in:
parent
623d71911f
commit
50226b4a64
@ -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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user