mirror of
https://github.com/ncoevoet/ChanTracker.git
synced 2025-05-08 12:15:25 -05:00
prevent delayed deop in some case
This commit is contained in:
parent
2d0d5cffe4
commit
7b30d3b5e8
1 changed files with 4 additions and 2 deletions
|
@ -1807,8 +1807,10 @@ class ChanTracker(callbacks.Plugin,plugins.ChannelDBHandler):
|
|||
adding = False
|
||||
while len(chan.queue):
|
||||
L.append(chan.queue.pop())
|
||||
if L[index][0].find ('+') != -1:
|
||||
adding = True
|
||||
mm = L[index][0].replace("+","")
|
||||
if L[index][0].find ('+') != -1 and mm in self.registryValue('modesToAsk',channel=channel):
|
||||
if mm in self.registryValue('kickMode',channel=channel) or self.registryValue('doActionAgainstAffected',channel=channel):
|
||||
adding = True
|
||||
index = index + 1
|
||||
# remove duplicates ( should not happens but .. )
|
||||
S = set(L)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue