summaryrefslogtreecommitdiff
path: root/Mailman/MailList.py
diff options
context:
space:
mode:
authorbwarsaw2001-08-17 05:39:59 +0000
committerbwarsaw2001-08-17 05:39:59 +0000
commitf3f0b272efbfbca2c9520f28b617f84f41c84045 (patch)
tree6c2fedaa8fa10368087d1bc76bc5db01b5ca5cf6 /Mailman/MailList.py
parent22236b7356dffaf3c9cf7517a80716ef78a30439 (diff)
downloadmailman-f3f0b272efbfbca2c9520f28b617f84f41c84045.tar.gz
mailman-f3f0b272efbfbca2c9520f28b617f84f41c84045.tar.zst
mailman-f3f0b272efbfbca2c9520f28b617f84f41c84045.zip
InitVars(): In order to make the General options consistently display
binary radio options as "No" then "Yes", we had to change the polarity of dont_respond_to_post_requests. Rename the option respond_to_post_requests and use versions to update the attribute and value. AddMember(): In HoldSubscription() call, the local variable `name' holds the user's full name, not `fullname'. Also say "moderator" instead of "administrator".
Diffstat (limited to 'Mailman/MailList.py')
-rw-r--r--Mailman/MailList.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py
index e774763c1..42ff66613 100644
--- a/Mailman/MailList.py
+++ b/Mailman/MailList.py
@@ -256,7 +256,7 @@ class MailList(MailCommandHandler, HTMLFormatter, Deliverer, ListAdmin,
self.passwords = {}
# This stuff is configurable
- self.dont_respond_to_post_requests = 0
+ self.respond_to_post_requests = 1
self.advertised = mm_cfg.DEFAULT_LIST_ADVERTISED
self.max_num_recipients = mm_cfg.DEFAULT_MAX_NUM_RECIPIENTS
self.max_message_size = mm_cfg.DEFAULT_MAX_MESSAGE_SIZE
@@ -645,9 +645,9 @@ class MailList(MailCommandHandler, HTMLFormatter, Deliverer, ListAdmin,
# Subscription approval is required. Add this entry to the admin
# requests database. BAW: this should probably take a userdesc
# just like above.
- self.HoldSubscription(email, fullname, password, digest, lang)
+ self.HoldSubscription(email, name, password, digest, lang)
raise Errors.MMNeedApproval, _(
- 'subscriptions to %(realname)s require administrator approval')
+ 'subscriptions to %(realname)s require moderator approval')
def ApprovedAddMember(self, userdesc, ack=None, admin_notif=None):
"""Add a member right now.