X-Git-Url: http://gitweb.pimeys.fr/?p=bots%2Fhistorien.git;a=blobdiff_plain;f=historien.py;fp=historien.py;h=eba4ac3048c79433cfc70a769d25557867e1f69d;hp=33b9af6aead17df74347160629a0ed2ed3736d7f;hb=09e758888215e3c8c2954f686f4debae06fd7656;hpb=c193910c6c7e27457f85a920d42aa3a4c1adb6ad diff --git a/historien.py b/historien.py index 33b9af6..eba4ac3 100755 --- a/historien.py +++ b/historien.py @@ -60,7 +60,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 GoodCentury(Exception): pass