From 112a95fceb1effe735e555bb93ecebd3383e515a Mon Sep 17 00:00:00 2001 From: minima Date: Wed, 14 Mar 2001 00:09:12 +0000 Subject: [PATCH] fix some rubbish in dxprot::finish --- perl/DXProt.pm | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/perl/DXProt.pm b/perl/DXProt.pm index b85f2391..2677cb7e 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -1158,11 +1158,9 @@ sub finish my @gonenodes = grep { $_->dxchan != $self && $_->dxchan != $me } DXNode::get_all(); my $node; - foreach $node (DXNode::get_all) { - next if $node->call eq $call; - next if $node->call eq $main::mycall; - broadcast_ak1a(pc21($node->call, 'Gone') , $self) unless $self->{isolate}; - $node->del(); + foreach my $dxchan (DXChannel::get_all_nodes) { + next if $dxchan == $self || $dxchan == $me; + broadcast_ak1a(pc21($dxchan->call, 'Gone') , $self) unless $self->{isolate}; } # remove outstanding pings -- 2.43.0