From: minima Date: Sat, 12 Mar 2005 11:33:00 +0000 (+0000) Subject: fix get{ X-Git-Tag: R_1_52~89 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=82dd7b0074e7b81f9353bbd0912744212a2c668b;p=spider.git fix get{ --- diff --git a/perl/DXProt.pm b/perl/DXProt.pm index 629d9cb7..dd532375 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -1033,7 +1033,7 @@ sub handle_19 } # we only output information that we regard as reliable - @rout = grep {$_ && (DXChannel::get{$_->{call}} || $_->np) } @rout; + @rout = grep {$_ && (DXChannel::get($_->{call}) || $_->np) } @rout; $self->route_pc19($origin, $line, @rout) if @rout; } @@ -1122,7 +1122,7 @@ sub handle_21 return; } - @rout = grep {$_ && (DXChannel::get{$_->{call}} || $_->np) } @rout; + @rout = grep {$_ && (DXChannel::get($_->{call}) || $_->np) } @rout; $self->route_pc21($origin, $line, @rout) if @rout; } @@ -1913,7 +1913,7 @@ sub send_local_config for $node (@intcalls) { push @remotenodes, Route::Node::get($node) unless grep $node eq $_, @rnodes, @remotenodes; } - @remotenodes = grep {$_ && (DXChannel::get{$_->{call}} || $_->np) } @remotenodes; + @remotenodes = grep {$_ && (DXChannel::get($_->{call}) || $_->np) } @remotenodes; $self->send_route($main::mycall, \&pc19, scalar(@remotenodes), @remotenodes); }