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

index 3bf8773b9a1baa37258977f1189708b46c24aad4..c3a47f615ce7b07faea4e5db0bd921a98bf3dc34 100755 (executable)
--- a/themis.py
+++ b/themis.py
@@ -50,7 +50,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
 
 reg_is_smiley = re.compile(u".*("+u"|".join(config.smileys)+u")")
 def is_smiley(chain):