diff --git a/bots/zephyr_mirror.py b/bots/zephyr_mirror.py index 2f68023..227d0fa 100755 --- a/bots/zephyr_mirror.py +++ b/bots/zephyr_mirror.py @@ -226,16 +226,10 @@ def process_notice(notice, log): # skip PING messages return - if isinstance(zsig, str): - # Check the loop suppression method of having a zsig ending - # with the empty string rendered in blue - # - # Check for the old loop suppression mechanism of a width - # unicode character u'\u200B'.encode("utf-8"). - if u'\u200B'.encode("utf-8") in zsig or zsig.endswith("@(@color(blue))"): - print "%s: zephyr=>humbug: Skipping message from Humbug!" % \ - (datetime.datetime.now()) - return + if zsig.endswith("@(@color(blue))"): + print "%s: zephyr=>humbug: Skipping message we got from Humbug!" % \ + (datetime.datetime.now()) + return zephyr_class = notice.cls.lower()