projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
038a13e
)
fix some rubbish in dxprot::finish
author
minima
<minima>
Wed, 14 Mar 2001 00:09:12 +0000
(
00:09
+0000)
committer
minima
<minima>
Wed, 14 Mar 2001 00:09:12 +0000
(
00:09
+0000)
perl/DXProt.pm
patch
|
blob
|
history
diff --git
a/perl/DXProt.pm
b/perl/DXProt.pm
index b85f2391d90f0f084d45af53853e02616cd93d58..2677cb7ef56cb3a6df58876d2cbcccec314d793f 100644
(file)
--- 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;
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
}
# remove outstanding pings