summaryrefslogtreecommitdiff
path: root/src/mailman/pipeline/file_recipients.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/pipeline/file_recipients.py')
-rw-r--r--src/mailman/pipeline/file_recipients.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mailman/pipeline/file_recipients.py b/src/mailman/pipeline/file_recipients.py
index 89d10d783..fd2db596a 100644
--- a/src/mailman/pipeline/file_recipients.py
+++ b/src/mailman/pipeline/file_recipients.py
@@ -58,8 +58,7 @@ class FileRecipients:
return
# If the sender is a member of the list, remove them from the file
# recipients.
- sender = msg.get_sender()
- member = mlist.members.get_member(sender)
+ member = mlist.members.get_member(msg.sender)
if member is not None:
addrs.discard(member.address.address)
msgdata['recips'] = addrs