]> gitweb.pimeys.fr Git - bots/saturnin.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)
saturnin.py

index 75165dfbe8615dfb1f891b93a853226db9a23e05..58b5f30a83fa6296dd0e9cb32937ddb338a70d12 100755 (executable)
@@ -66,7 +66,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