From 5d2f2feddd2c756e43868f62f72b3c5033c3d3a7 Mon Sep 17 00:00:00 2001 From: minima Date: Wed, 14 Mar 2001 00:17:46 +0000 Subject: [PATCH] again? --- perl/DXProt.pm | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/perl/DXProt.pm b/perl/DXProt.pm index 2677cb7e..a7ef30c2 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -1155,12 +1155,10 @@ sub finish $mref->stop_msg($call) if $mref; # broadcast to all other nodes that all the nodes connected to via me are gone - my @gonenodes = grep { $_->dxchan != $self && $_->dxchan != $me } DXNode::get_all(); - my $node; - - foreach my $dxchan (DXChannel::get_all_nodes) { - next if $dxchan == $self || $dxchan == $me; - broadcast_ak1a(pc21($dxchan->call, 'Gone') , $self) unless $self->{isolate}; + foreach my $node (grep { $_->dxchan == $self } 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}; } # remove outstanding pings -- 2.34.1