summaryrefslogtreecommitdiff
path: root/Mailman/Handlers/CalcRecips.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/Handlers/CalcRecips.py')
-rw-r--r--Mailman/Handlers/CalcRecips.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Handlers/CalcRecips.py b/Mailman/Handlers/CalcRecips.py
index aabd541b6..3fe3e580f 100644
--- a/Mailman/Handlers/CalcRecips.py
+++ b/Mailman/Handlers/CalcRecips.py
@@ -61,7 +61,7 @@ def process(mlist, msg, msgdata):
# Should the original sender should be included in the recipients list?
include_sender = 1
try:
- if mlist.getUserOption(msg.get_sender(), mm_cfg.DontReceiveOwnPosts):
+ if mlist.getMemberOption(msg.get_sender(), mm_cfg.DontReceiveOwnPosts):
include_sender = 0
except Errors.NotAMemberError:
pass