From: Vincent Le Gallic Date: Wed, 19 Jun 2013 17:41:28 +0000 (+0200) Subject: Boulet X-Git-Url: http://gitweb.pimeys.fr/?a=commitdiff_plain;h=07b3ec1f01ff8258aba94b8f68a22a9b777c1736;p=bots%2Fhung.git Boulet --- diff --git a/hung.py b/hung.py index 9517d27..20adde8 100755 --- a/hung.py +++ b/hung.py @@ -51,7 +51,8 @@ def ignore_event(serv, ev): else: exceptit = bool(irclib.mask_matches(usermask, exceptmask)) blackit = bool(irclib.mask_matches(usermask, blackmask)) - return blackit and not exceptit + if blackit and not exceptit: + return True class UnicodeBotError(Exception): pass