aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Handlers/Hold.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/Handlers/Hold.py')
-rw-r--r--Mailman/Handlers/Hold.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/Handlers/Hold.py b/Mailman/Handlers/Hold.py
index d4af8f9a..2b8a084d 100644
--- a/Mailman/Handlers/Hold.py
+++ b/Mailman/Handlers/Hold.py
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2007 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2008 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -188,7 +188,7 @@ def process(mlist, msg, msgdata):
#
# Are we gatewaying to a moderated newsgroup and is this list the
# moderator's address for the group?
- if mlist.news_moderation == 2:
+ if mlist.gateway_to_news and mlist.news_moderation == 2:
hold_for_approval(mlist, msg, msgdata, ModeratedNewsgroup)