zephyr_mirror: Clean up unnecessary logic in process_notice.

(imported from commit 28599789016fd1006c2de4d5ddc3cf1f10baa47f)
This commit is contained in:
Tim Abbott 2012-11-27 10:17:52 -05:00
parent 4b6f771be1
commit cdabd2b90a
1 changed files with 1 additions and 2 deletions

View File

@ -244,8 +244,7 @@ def process_notice(notice, log):
# Drop messages not to the listed subscriptions # Drop messages not to the listed subscriptions
if is_personal and not options.forward_personals: if is_personal and not options.forward_personals:
return return
if (zephyr_class not in current_zephyr_subs) and not \ if (zephyr_class not in current_zephyr_subs) and not is_personal:
(is_personal and options.forward_personals):
logger.debug("Skipping ... %s/%s/%s" % logger.debug("Skipping ... %s/%s/%s" %
(zephyr_class, notice.instance, is_personal)) (zephyr_class, notice.instance, is_personal))
return return