summaryrefslogtreecommitdiff
path: root/src/mailman/rules/news_moderation.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/rules/news_moderation.py')
-rw-r--r--src/mailman/rules/news_moderation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/rules/news_moderation.py b/src/mailman/rules/news_moderation.py
index bd6eb6166..be0d56cb4 100644
--- a/src/mailman/rules/news_moderation.py
+++ b/src/mailman/rules/news_moderation.py
@@ -46,4 +46,4 @@ class ModeratedNewsgroup:
def check(self, mlist, msg, msgdata):
"""See `IRule`."""
- return mlist.news_moderation == NewsgroupModeration.moderated
+ return mlist.newsgroup_moderation == NewsgroupModeration.moderated