From dde4b785f904c198f0cc7468f420bcce4549e438 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Thu, 18 Oct 2012 11:14:03 -0400 Subject: [PATCH] Fix mit_sync_bots for personals only. (imported from commit 9fd7ac87d2cdc32413edefbde8870bbe59b67380) --- zephyr_mirror.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zephyr_mirror.py b/zephyr_mirror.py index 8f88894..7fce021 100755 --- a/zephyr_mirror.py +++ b/zephyr_mirror.py @@ -75,7 +75,8 @@ def humbug_username(zephyr_username): return zephyr_username.lower().split("@")[0] + "@mit.edu" def send_humbug(zeph): - zeph["forged"] = "yes" + if options.forward_class_messages: + zeph["forged"] = "yes" zeph["sender"] = humbug_username(zeph["sender"]) zeph['fullname'] = username_to_fullname(zeph['sender']) zeph['shortname'] = zeph['sender'].split('@')[0]