mirror of
https://github.com/ncoevoet/ChanTracker.git
synced 2025-04-26 13:01:06 -05:00
fix
This commit is contained in:
parent
85a2c140a0
commit
e5e8c7ed4c
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user