Merge pull request #886 from nyuszika7h/fix-automode-dismiss-msg

AutoMode: Fix "Dismissing auto-mode" log message
This commit is contained in:
Valentin Lorentz 2014-10-22 13:22:19 +02:00
commit fcbf9e0ae5

View File

@ -93,7 +93,7 @@ class AutoMode(callbacks.Plugin):
if not dismiss():
irc.queueMsg(msg)
else:
self.log.info('Dismissing auto-mode for %s.' % msg.nick)
self.log.info('Dismissing auto-mode for %s.', msg.args[2])
delay = self.registryValue('delay', channel)
if delay:
schedule.addEvent(f, time.time() + delay)