Bantracker: ignore reviews for bans with a #ubuntu-read-topic forward.

This commit is contained in:
Elián Hanisch
2011-05-31 03:15:58 -03:00
parent 638ccf7b47
commit f71a3c9929

View File

@ -467,6 +467,10 @@ class Bantracker(callbacks.Plugin):
continue
for ban in bans:
# XXX this shouldn't be hardcoded, but I'm starting to hate this plugin,
# the less I touch it the better.
if ban.mask.endswith('$#ubuntu-read-topic'):
continue
type = guessBanType(ban.mask)
if type == 'removal':
# skip kicks