------------------------------------------------------------
revno: 1109
committer: Mark Sapiro <[EMAIL PROTECTED]>
branch nick: 2.1
timestamp: Mon 2008-06-23 10:49:39 -0700
message:
  Added check for gateway_to_news before holding for ModeratedNewsgroup.
modified:
  Mailman/Handlers/Hold.py
  NEWS

=== modified file 'Mailman/Handlers/Hold.py'
--- a/Mailman/Handlers/Hold.py  2007-11-04 23:19:31 +0000
+++ b/Mailman/Handlers/Hold.py  2008-06-23 17:49:39 +0000
@@ -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 @@
     #
     # 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)
 
 

=== modified file 'NEWS'
--- a/NEWS      2008-06-22 17:22:58 +0000
+++ b/NEWS      2008-06-23 17:49:39 +0000
@@ -83,6 +83,8 @@
 
     - 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.



--
Stable, maintained release series
https://code.launchpad.net/~mailman-coders/mailman/2.1

You are receiving this branch notification because you are subscribed to it.
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to