bantracker: HACK assume bans with exact mask are marks, so they won't get a review.
This commit is contained in:
parent
e69ac691c6
commit
d0d7fe616a
|
@ -475,6 +475,9 @@ class Bantracker(callbacks.Plugin):
|
|||
if type == 'removal':
|
||||
# skip kicks
|
||||
continue
|
||||
if not ('*' in ban.mask or '?' in ban.mask):
|
||||
# XXX hack over hack, we are supposing these are marks.
|
||||
continue
|
||||
banAge = now - ban.when
|
||||
reviewWindow = lastreview - ban.when
|
||||
#self.log.debug('review ban: %s ban %s by %s (%s/%s/%s %s)', channel, ban.mask,
|
||||
|
|
Loading…
Reference in New Issue