bantracker: forgot about extbans.

This commit is contained in:
Elián Hanisch 2011-05-31 19:55:38 -03:00
parent d0d7fe616a
commit 62936a986c

View File

@ -475,7 +475,7 @@ class Bantracker(callbacks.Plugin):
if type == 'removal':
# skip kicks
continue
if not ('*' in ban.mask or '?' in ban.mask):
if not ('*' in ban.mask or '?' in ban.mask or '$' in ban.mask):
# XXX hack over hack, we are supposing these are marks.
continue
banAge = now - ban.when