bantracker: HACK assume bans with exact mask are marks, so they won't get a review.

This commit is contained in:
Elián Hanisch 2011-05-31 19:43:45 -03:00
parent e69ac691c6
commit d0d7fe616a

View File

@ -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,