]> gitweb.pimeys.fr Git - bots/hung.git/blobdiff - hung.py
Boulet
[bots/hung.git] / hung.py
diff --git a/hung.py b/hung.py
index 9517d2782ab66cddd546f147d8d74ce2ad1cd70d..20adde8f7b1409180114b9c7b0d35fa3329a5302 100755 (executable)
--- 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