summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbwarsaw2001-07-19 19:13:23 +0000
committerbwarsaw2001-07-19 19:13:23 +0000
commit410fc0d6415afc62087ed269e8c1d68db8fb507b (patch)
tree7f416213c5f8e1acf7d8abaaa22b404e14af93bb
parentbc7fc27fb3c4b513e44c18ac4fd0f249bdd822ed (diff)
downloadmailman-410fc0d6415afc62087ed269e8c1d68db8fb507b.tar.gz
mailman-410fc0d6415afc62087ed269e8c1d68db8fb507b.tar.zst
mailman-410fc0d6415afc62087ed269e8c1d68db8fb507b.zip
process(): Fixed typo (should have been "getMemberOption" not
"getUserOption"). Found by Mentor Cana.
-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