X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FRoute.pm;h=582434415073033e2ba22aed70c625b2e2c8e3b1;hb=f942dabdab73e5841f16ead2a41a52d6b5b05eb8;hp=03dd1f43776a4ceba321740f1c5247a89f036532;hpb=9311d6940faf0e9952d6d65d9ead572b06a52434;p=spider.git diff --git a/perl/Route.pm b/perl/Route.pm index 03dd1f43..58243441 100644 --- a/perl/Route.pm +++ b/perl/Route.pm @@ -130,6 +130,16 @@ sub _dellist return @out; } +sub _haslist +{ + my $self = shift; + my $field = shift; + my @out; + my $call = shift; + my $r = grep $_->{call} eq $call, @{$self->{$field}}; + dbg(ref($self) . " $call is " . $r?'in':'NOT in' . " $self->{call}\->\{$field\}") if isdbg('routelow'); +} + sub is_empty { my $self = shift; @@ -202,7 +212,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};