]> gitweb.pimeys.fr Git - bots/historien.git/commitdiff
Boulet
authorVincent Le Gallic <legallic@crans.org>
Wed, 19 Jun 2013 17:43:15 +0000 (19:43 +0200)
committerVincent Le Gallic <legallic@crans.org>
Wed, 19 Jun 2013 17:43:15 +0000 (19:43 +0200)
historien.py

index 33b9af6aead17df74347160629a0ed2ed3736d7f..eba4ac3048c79433cfc70a769d25557867e1f69d 100755 (executable)
@@ -60,7 +60,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 GoodCentury(Exception):
     pass