]> gitweb.pimeys.fr Git - bots/saturnin.git/blobdiff - saturnin.py
Boulet
[bots/saturnin.git] / 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