diff options
| author | fukachan <fukachan> | 2006-04-11 12:08:20 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2006-04-11 12:08:20 +0000 |
| commit | e7a161ecd242fedfb620b89018de16d6a643e778 (patch) | |
| tree | 92570f41e3f458eb6b6aa5ce9bba01aadd89d6ba /fml/lib/FML/Process/Distribute.pm | |
| parent | 21df474339acd874adb64975655be57f0a27aa9b (diff) | |
| download | fml8-e7a161ecd242fedfb620b89018de16d6a643e778.tar.gz fml8-e7a161ecd242fedfb620b89018de16d6a643e778.tar.bz2 fml8-e7a161ecd242fedfb620b89018de16d6a643e778.zip | |
apply filter system to avoid useless work if distribution is allowed.
Diffstat (limited to 'fml/lib/FML/Process/Distribute.pm')
| -rw-r--r-- | fml/lib/FML/Process/Distribute.pm | 7 |
1 files 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()) { |
