in showing the new config, don't show the loops
[spider.git] / perl / Route.pm
index 0676139aa033647f434bc557a6c6a4cdfc179c82..92290d21417d5a3e0a9b56f5ff1c43c1924bfb0d 100644 (file)
@@ -60,7 +60,9 @@ $filterdef = bless ([
 
 sub new
 {
-       my ($pkg, $call) = @_;
+       my $pkg = shift;
+       my $call = shift;
+
        $pkg = ref $pkg if ref $pkg;
 
        my $self = bless {call => $call}, $pkg;
@@ -200,7 +202,7 @@ sub config
                # recursion detector
                if ((DXChannel::get($self->{call}) && $level > 1) || grep $self->{call} eq $_, @$seen) {
                        $line .= ' ...';
-                       push @out, $line;
+#                      push @out, $line;
                        return @out;
                }
                push @$seen, $self->{call};