mirror of
https://github.com/ncoevoet/ChanTracker.git
synced 2025-04-28 14:01:04 -05:00
modified setting entry used for duration of permanent bans item
This commit is contained in:
parent
c369ec7a47
commit
c2c239c812
@ -1964,7 +1964,7 @@ class ChanTracker(callbacks.Plugin,plugins.ChannelDBHandler):
|
||||
if c.bans and len(c.bans) and self.registryValue('useChannelBansForPermanentBan',channel=channel):
|
||||
for ban in list(c.bans):
|
||||
if match (ban,n,irc):
|
||||
if i.add(irc,channel,'b',best,self.registryValue('badDuration',channel=channel),irc.prefix,self.getDb(irc.network)):
|
||||
if i.add(irc,channel,'b',best,self.registryValue('autoExpire',channel=channel),irc.prefix,self.getDb(irc.network)):
|
||||
banned = True
|
||||
self.forceTickle = True
|
||||
break
|
||||
|
Loading…
x
Reference in New Issue
Block a user