From e5e8c7ed4c22b698fad3719d06386dc7bd1d1bcb Mon Sep 17 00:00:00 2001 From: Nicolas Coevoet Date: Mon, 1 Dec 2014 00:12:31 +0100 Subject: [PATCH] fix --- plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin.py b/plugin.py index 19b957c..98d2362 100644 --- a/plugin.py +++ b/plugin.py @@ -2919,10 +2919,10 @@ class ChanTracker(callbacks.Plugin,plugins.ChannelDBHandler): def hasExtendedSharedBan (self,irc,fromChannel,target): # todo add support for others ircd if supported, currently only freenode - match = '$j:%s' % fromChannel + b = '$j:%s' % fromChannel kicks = [] for channel in irc.state.channels: - if match in irc.state.channels[channel].bans and self.registryValue('doActionAgainstAffected',channel=channel): + if b in irc.state.channels[channel].bans and self.registryValue('doActionAgainstAffected',channel=channel): L = [] for nick in list(irc.state.channels[channel].users): L.append(nick)