From e7a161ecd242fedfb620b89018de16d6a643e778 Mon Sep 17 00:00:00 2001 From: fukachan Date: Tue, 11 Apr 2006 12:08:20 +0000 Subject: apply filter system to avoid useless work if distribution is allowed. --- fml/lib/FML/Process/Distribute.pm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/fml/lib/FML/Process/Distribute.pm b/fml/lib/FML/Process/Distribute.pm index 1e46c066..b0b058df 100644 --- a/fml/lib/FML/Process/Distribute.pm +++ b/fml/lib/FML/Process/Distribute.pm @@ -3,7 +3,7 @@ # Copyright (C) 2000,2001,2002,2003,2004,2005,2006 Ken'ichi Fukamachi # All rights reserved. # -# $FML: Distribute.pm,v 1.173 2006/03/26 14:56:17 fukachan Exp $ +# $FML: Distribute.pm,v 1.174 2006/04/05 11:39:49 fukachan Exp $ # package FML::Process::Distribute; @@ -130,7 +130,10 @@ sub verify_request } unless ($curproc->is_refused()) { - $curproc->_check_filter(); + my $action = $curproc->is_permit_post(); + if ($action eq 'permit') { + $curproc->_check_filter(); + } } if ($curproc->filter_state_get_tempfail_request()) { -- cgit v1.2.1