Misc: Only write channel name, instead of prepending it with “channel”.

This commit is contained in:
Valentin Lorentz 2014-05-29 18:43:49 +00:00
parent 00e4c64bb5
commit 9569eb22d8

View File

@ -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