mirror of
https://github.com/ncoevoet/ChanTracker.git
synced 2025-04-26 13:01:06 -05:00
fix eI removal where bot may miss the removal message from server
This commit is contained in:
parent
177c5ff1aa
commit
a44d6c9610
@ -782,6 +782,9 @@ class Ircd (object):
|
||||
(uid,channel,kind,mask,begin_at,end_at) = L[0]
|
||||
chan = self.getChan(irc,channel)
|
||||
current = float(time.time())
|
||||
if begin_at == end_at and seconds < 0:
|
||||
c.close()
|
||||
return False
|
||||
if begin_at == end_at:
|
||||
text = 'was forever'
|
||||
else:
|
||||
@ -2020,7 +2023,7 @@ class ChanTracker(callbacks.Plugin,plugins.ChannelDBHandler):
|
||||
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
|
||||
if L[index][0].find ('+') != -1 and mm in self.registryValue('modesToAskWhenOpped',channel=channel):
|
||||
if mm in self.registryValue('modesToAskWhenOpped',channel=channel):
|
||||
adding = True
|
||||
index = index + 1
|
||||
# remove duplicates ( should not happens but .. )
|
||||
|
Loading…
x
Reference in New Issue
Block a user