mirror of
https://github.com/ncoevoet/ChanTracker.git
synced 2025-05-04 09:21:11 -05:00
prevent bot to kick user with #channel,protected while check b :#channel bans
This commit is contained in:
parent
e230da3d97
commit
b20c703365
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user