From ce24f36c2dbdf14742eec86d2a7b5432fcdafcc4 Mon Sep 17 00:00:00 2001 From: Nicolas Coevoet Date: Thu, 6 Feb 2014 20:57:46 +0100 Subject: [PATCH] changed kick announce on logChannel --- plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.py b/plugin.py index 2b76ee1..854a3d5 100644 --- a/plugin.py +++ b/plugin.py @@ -2010,7 +2010,7 @@ class ChanTracker(callbacks.Plugin,plugins.ChannelDBHandler): n = self.getNick(irc,target) n.addLog(channel,'kicked by %s (%s)' % (msg.prefix,reason)) if self.registryValue('announceKick',channel=channel): - self._logChan(irc,channel,'[%s] %s kicked by %s (%s)' % (channel,n.prefix,msg.prefix,reason)) + self._logChan(irc,channel,'[%s] %s kicks %s (%s)' % (channel,msg.nick,n.prefix,reason)) if len(reason) and msg.prefix != irc.prefix and self.registryValue('addKickMessageInComment',channel=channel): chan = self.getChan(irc,channel) found = None