]> gitweb.pimeys.fr Git - bots/hung.git/commitdiff
Boulet
authorVincent Le Gallic <legallic@crans.org>
Wed, 19 Jun 2013 17:41:28 +0000 (19:41 +0200)
committerVincent Le Gallic <legallic@crans.org>
Wed, 19 Jun 2013 17:41:28 +0000 (19:41 +0200)
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