summaryrefslogtreecommitdiff
path: root/Mailman/MailList.py
diff options
context:
space:
mode:
authorbwarsaw2002-03-05 04:53:12 +0000
committerbwarsaw2002-03-05 04:53:12 +0000
commit070ff0eaa579d448a05f913559c213485a138fe7 (patch)
treee525d6a4cbbb6cc45ffaf1b766a5cc3bdcff5c15 /Mailman/MailList.py
parent9fa9d94184ea52264b5be9767ebc2c31abd4adb3 (diff)
downloadmailman-070ff0eaa579d448a05f913559c213485a138fe7.tar.gz
mailman-070ff0eaa579d448a05f913559c213485a138fe7.tar.zst
mailman-070ff0eaa579d448a05f913559c213485a138fe7.zip
Patches to support duplicate suppression for explicit recipients,
written by Ben Gertzfield, ported to MM2.1 by Marc MERLIN. Specifically, InitVars(): Add the new_member_options attribute. (Also, untabbification)
Diffstat (limited to 'Mailman/MailList.py')
-rw-r--r--Mailman/MailList.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py
index c6459ca90..b174f1064 100644
--- a/Mailman/MailList.py
+++ b/Mailman/MailList.py
@@ -257,6 +257,7 @@ class MailList(MailCommandHandler, HTMLFormatter, Deliverer, ListAdmin,
self.language = {}
self.usernames = {}
self.passwords = {}
+ self.new_member_options = mm_cfg.DEFAULT_NEW_MEMBER_OPTIONS
# This stuff is configurable
self.respond_to_post_requests = 1
@@ -320,8 +321,8 @@ class MailList(MailCommandHandler, HTMLFormatter, Deliverer, ListAdmin,
self.generic_nonmember_action = mm_cfg.DEFAULT_GENERIC_NONMEMBER_ACTION
# Ban lists
self.ban_list = []
- # BAW: This should really be set in SecurityManager.InitVars()
- self.password = crypted_password
+ # BAW: This should really be set in SecurityManager.InitVars()
+ self.password = crypted_password
# Only one level of mixin inheritance allowed
for baseclass in self.__class__.__bases__: