Fix added http_access lines after acl

This commit is contained in:
Jamie Cameron
2008-03-08 05:21:37 +00:00
parent c5c369f3ba
commit a5cdf4af37

View File

@@ -141,7 +141,8 @@ for($i=0; $i<@oldv || $i<@newv; $i++) {
else {
# updating some directive
$nl = &directive_line($newv[$i]);
local @after = ref($_[3]) ? ( $_[3] ) :
local @after = $change ? ( $change ) : # After last one updated
ref($_[3]) ? ( $_[3] ) : # After specific
$_[3] ? &find_config($_[3], $_[0]) : ( );
local $after = @after ? @after[$#after] : undef;
if ($after && $oldv[$i]->{'line'} < $after->{'line'}) {