diff options
Diffstat (limited to 'Mailman/Cgi/admin.py')
| -rw-r--r-- | Mailman/Cgi/admin.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Mailman/Cgi/admin.py b/Mailman/Cgi/admin.py index bb692374c..f866cba47 100644 --- a/Mailman/Cgi/admin.py +++ b/Mailman/Cgi/admin.py @@ -832,7 +832,7 @@ def ChangeOptions(mlist, category, cgi_info, document): else: val = cgi_info[property].value value = GetValidValue(mlist, property, kind, val, deps) - if getattr(mlist, property) != value: + if getattr(mlist, property) <> value: # TBD: Ensure that mlist.real_name differs only in letter # case. Otherwise a security hole can potentially be opened # when using an external archiver. This seems ad-hoc and @@ -844,6 +844,13 @@ def ChangeOptions(mlist, category, cgi_info, document): changed! It must differ from the list's name by case only.<p>""") continue + # TBD: When turning on usenet->mail gating we want to + # automatically catch up the newsgroup otherwise the mailing + # list will suddently get flooded. There should be a much + # better way to do this (or for the admin to specify they want + # this). + elif property == 'gateway_to_mail': + mlist.usenet_watermark = None setattr(mlist, property, value) dirty = 1 # |
