From 82dd7b0074e7b81f9353bbd0912744212a2c668b Mon Sep 17 00:00:00 2001 From: minima Date: Sat, 12 Mar 2005 11:33:00 +0000 Subject: [PATCH] fix get{ --- perl/DXProt.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } -- 2.43.0