summaryrefslogtreecommitdiff
path: root/Mailman/Handlers/CalcRecips.py
diff options
context:
space:
mode:
authorbwarsaw1999-11-24 19:25:57 +0000
committerbwarsaw1999-11-24 19:25:57 +0000
commitc7b3790a4199d717901b2b7feeb6372dc7c6870c (patch)
tree6711088b99eb681a184ffceb983737d24d694896 /Mailman/Handlers/CalcRecips.py
parent703c918f93c10ef6960fde721f708021b2ae1d53 (diff)
downloadmailman-c7b3790a4199d717901b2b7feeb6372dc7c6870c.tar.gz
mailman-c7b3790a4199d717901b2b7feeb6372dc7c6870c.tar.zst
mailman-c7b3790a4199d717901b2b7feeb6372dc7c6870c.zip
Diffstat (limited to 'Mailman/Handlers/CalcRecips.py')
-rw-r--r--Mailman/Handlers/CalcRecips.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/Mailman/Handlers/CalcRecips.py b/Mailman/Handlers/CalcRecips.py
index 860f3afbe..f3f600767 100644
--- a/Mailman/Handlers/CalcRecips.py
+++ b/Mailman/Handlers/CalcRecips.py
@@ -36,11 +36,8 @@ def process(mlist, msg):
# Get the membership address of the sender, if a member. Then get the
# sender's receive-own-posts option
sender = mlist.FindUser(msg.GetSender())
- if sender:
- if mlist.GetUserOption(sender, mm_cfg.DontReceiveOwnPosts):
- dont_send_to_sender = 1
- if mlist.GetUserOption(sender, mm_cfg.AcknowlegePosts):
- ack_post = 1
+ if sender and mlist.GetUserOption(sender, mm_cfg.DontReceiveOwnPosts):
+ dont_send_to_sender = 1
# calculate the regular recipients of the message
members = mlist.GetDeliveryMembers()
recips = []