Fix mit_sync_bots for personals only.

(imported from commit 9fd7ac87d2cdc32413edefbde8870bbe59b67380)
This commit is contained in:
Tim Abbott 2012-10-18 11:14:03 -04:00
parent 5fe0487783
commit dde4b785f9

View file

@ -75,6 +75,7 @@ def humbug_username(zephyr_username):
return zephyr_username.lower().split("@")[0] + "@mit.edu"
def send_humbug(zeph):
if options.forward_class_messages:
zeph["forged"] = "yes"
zeph["sender"] = humbug_username(zeph["sender"])
zeph['fullname'] = username_to_fullname(zeph['sender'])