diff --git a/plugins/Channel/plugin.py b/plugins/Channel/plugin.py index 7d0111db3..fd591ad28 100644 --- a/plugins/Channel/plugin.py +++ b/plugins/Channel/plugin.py @@ -51,11 +51,13 @@ class Channel(callbacks.Plugin): channel = msg.args[0] if msg.args[1] == irc.nick: if self.registryValue('alwaysRejoin', channel): - self.log.info('Kicked from %s. Rejoining.' % channel) + self.log.info('Kicked from %s by %s. Rejoining.' % + (channel, msg.prefix)) networkGroup = conf.supybot.networks.get(irc.network) irc.sendMsg(networkGroup.channels.join(channel)) else: - self.log.info('Kicked from %s. Not auto-rejoining.' % channel) + self.log.info('Kicked from %s by %s. Not auto-rejoining.' % + (channel, msg.prefix)) def _sendMsg(self, irc, msg): irc.queueMsg(msg)