summaryrefslogtreecommitdiff
path: root/src/mailman/rules/news_moderation.py
diff options
context:
space:
mode:
authorBarry Warsaw2012-04-08 19:40:38 -0400
committerBarry Warsaw2012-04-08 19:40:38 -0400
commitfdfc98239de2cfdfff6c62a5bb9d49abc8d3722e (patch)
tree15944f47693c8dbf3fd80292112d5f9d1ccac4d5 /src/mailman/rules/news_moderation.py
parent2410fe8c2578fbd11275cfc7fc1897173eecd41a (diff)
downloadmailman-fdfc98239de2cfdfff6c62a5bb9d49abc8d3722e.tar.gz
mailman-fdfc98239de2cfdfff6c62a5bb9d49abc8d3722e.tar.zst
mailman-fdfc98239de2cfdfff6c62a5bb9d49abc8d3722e.zip
Diffstat (limited to 'src/mailman/rules/news_moderation.py')
-rw-r--r--src/mailman/rules/news_moderation.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/rules/news_moderation.py b/src/mailman/rules/news_moderation.py
index 4ca9a0d8a..e43bca3b7 100644
--- a/src/mailman/rules/news_moderation.py
+++ b/src/mailman/rules/news_moderation.py
@@ -28,7 +28,7 @@ __all__ = [
from zope.interface import implements
from mailman.core.i18n import _
-from mailman.interfaces.nntp import NewsModeration
+from mailman.interfaces.nntp import NewsgroupModeration
from mailman.interfaces.rules import IRule
@@ -46,4 +46,4 @@ class ModeratedNewsgroup:
def check(self, mlist, msg, msgdata):
"""See `IRule`."""
- return mlist.news_moderation == NewsModeration.moderated
+ return mlist.news_moderation == NewsgroupModeration.moderated