From 9569eb22d8eba95ba3d54d40741805a25e8725fd Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Thu, 29 May 2014 18:43:49 +0000 Subject: [PATCH] =?UTF-8?q?Misc:=20Only=20write=20channel=20name,=20instea?= =?UTF-8?q?d=20of=20prepending=20it=20with=20=E2=80=9Cchannel=E2=80=9D.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/Misc/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Misc/plugin.py b/plugins/Misc/plugin.py index ee26a9eca..fffff944b 100644 --- a/plugins/Misc/plugin.py +++ b/plugins/Misc/plugin.py @@ -168,7 +168,7 @@ class Misc(callbacks.Plugin): # echo [] will get us an empty token set, but there's no need # to log this in that case anyway, it being a nested command. self.log.info('Not replying to %s in %s, not a command.' % - (tokens[0], _('channel %s') % channel + (tokens[0], channel if channel != irc.nick else _('private'))) if irc.nested: bracketConfig = conf.supybot.commands.nested.brackets