X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FFilter.pm;h=2e1f4555ff78e25fbb66c5aca397ac98bf0535e4;hb=a9fcec83aaf40b177ea3b7730a737cdca88eb388;hp=676cef2b61a12c5c96cb7e956e1ab0a3a8891627;hpb=905063b392672f001b4900bb9033c8fefa77f2d5;p=spider.git diff --git a/perl/Filter.pm b/perl/Filter.pm index 676cef2b..2e1f4555 100644 --- a/perl/Filter.pm +++ b/perl/Filter.pm @@ -222,7 +222,7 @@ sub it my $args = join '\',\'', @_; 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');