From ac9822046997c7719ce71e36e295ef1382f7eb6a Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Mon, 23 Jun 2008 10:49:39 -0700 Subject: Added check for gateway_to_news before holding for ModeratedNewsgroup. --- Mailman/Handlers/Hold.py | 4 ++-- NEWS | 2 ++ 2 files changed, 4 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) diff --git a/NEWS b/NEWS index b061706e..3912fac3 100644 --- a/NEWS +++ b/NEWS @@ -83,6 +83,8 @@ Here is a history of user visible changes to Mailman. - Merged the Catalan i18n from the Mailman Catalan Translation Team. + - Added check for gateway_to_news before holding for ModeratedNewsgroup. + Miscellaneous - Brad Knowles' mailman daily status report script updated to 0.0.18. -- cgit v1.2.3