mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 20:59:27 +01:00
Dunno: Log commands. Closes GH-798.
This commit is contained in:
parent
ab1ac2aa8e
commit
f39e6363ed
@ -49,6 +49,8 @@ class Dunno(plugins.ChannelIdDatabasePlugin):
|
||||
dunno = dunno.text
|
||||
prefixNick = self.registryValue('prefixNick', channel)
|
||||
env = {'command': tokens[0]}
|
||||
self.log.info('Issuing "dunno" answer, %s is not a command.' %
|
||||
tokens[0])
|
||||
dunno = ircutils.standardSubstitute(irc, msg, dunno, env=env)
|
||||
irc.reply(dunno, prefixNick=prefixNick)
|
||||
Dunno = internationalizeDocstring(Dunno)
|
||||
|
Loading…
Reference in New Issue
Block a user