Minor version number update on Admin Manual
[spider.git] / perl / Filter.pm
index 676cef2b61a12c5c96cb7e956e1ab0a3a8891627..031ec92669a6cd200729d40ddef70d9e58d92e15 100644 (file)
@@ -220,12 +220,12 @@ sub it
 
        if (isdbg('filter')) {
                my $args = join '\',\'', @_;
-               my $true = $r ? "OK" : "REJ";
+               my $true = $r ? "OK " : "REJ";
                my $sort = $self->{sort};
-               my $dir = $self->{name} ~= /^in_/i ? "IN " : "OUT";
+               my $dir = $self->{name} =~ /^in_/i ? "IN " : "OUT";
                
-               $hops ||= "none";
-               dbg("$dir: $type/$sort with $asc on '$args': $true hops: $hops") if isdbg('filter');
+               my $h = $hops || '';
+               dbg("$true $dir: $type/$sort with $asc on '$args' $h") if isdbg('filter');
        }
        return ($r, $hops);
 }