From: Vincent Le Gallic Date: Wed, 19 Jun 2013 17:43:15 +0000 (+0200) Subject: Boulet X-Git-Url: http://gitweb.pimeys.fr/?a=commitdiff_plain;h=c1a1b09e8111f3883a43344a5bbb75810f7b6b9a;p=bots%2Fsalesman.git Boulet --- diff --git a/salesman.py b/salesman.py index 5fe5c94..64dcd00 100755 --- a/salesman.py +++ b/salesman.py @@ -61,7 +61,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 def reussi(message,answer,auteur): if auteur in config.level3: