From f3f0b272efbfbca2c9520f28b617f84f41c84045 Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Fri, 17 Aug 2001 05:39:59 +0000 Subject: 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". --- Mailman/MailList.py | 6 +++--- 1 file 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. -- cgit v1.2.3-70-g09d2