prevent bot to kick user with #channel,protected while check b :#channel bans

This commit is contained in:
Nicolas Coevoet 2014-12-17 21:58:46 +01:00
parent e230da3d97
commit b20c703365

View File

@ -2954,6 +2954,7 @@ class ChanTracker(callbacks.Plugin,plugins.ChannelDBHandler):
for nick in list(irc.state.channels[channel].users):
L.append(nick)
for nick in L:
if not self._isVip(irc,channel,self.getNick(irc,nick)):
n = self.getNick(irc,nick)
m = match(target,n,irc)
if m: