X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProt.pm;h=01dd93269cd07e3e3ae0e15dd3142c3a55832bd8;hb=dd6f2237fd4d45b8e6686cb4a9cfe57e30c8377c;hp=966f0eefb0d88f4a5f4d7d8a105329542deef3df;hpb=6624dcdf07d628e8d6a16fc6549edf40be25b7b2;p=spider.git diff --git a/perl/DXProt.pm b/perl/DXProt.pm index 966f0eef..01dd9326 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -1214,7 +1214,7 @@ sub send_dx_spot # taking into account filtering and so on foreach $dxchan (@dxchan) { next if $dxchan == $me; - next if $dxchan == $self; + next if $dxchan == $self && $self->is_node; $dxchan->dx_spot($line, $self->{isolate}, @_, $self->{call}); } } @@ -1243,7 +1243,7 @@ sub send_prot_line $routeit =~ s/\^H\d+\^\~$/\^H$hops\^\~/; } else { $routeit = adjust_hops($self, $line); # adjust its hop count by node name - next unless $routeit; + return unless $routeit; } if ($filter) { $self->send($routeit) if $routeit; @@ -1276,8 +1276,8 @@ sub send_wwv_spot # send it if it isn't the except list and isn't isolated and still has a hop count # taking into account filtering and so on foreach $dxchan (@dxchan) { - next if $dxchan == $self; next if $dxchan == $me; + next if $dxchan == $self && $self->is_node; my $routeit; my ($filter, $hops); @@ -1388,8 +1388,8 @@ sub send_announce # send it if it isn't the except list and isn't isolated and still has a hop count # taking into account filtering and so on foreach $dxchan (@dxchan) { - next if $dxchan == $self; next if $dxchan == $me; + next if $dxchan == $self && $self->is_node; my $routeit; my ($filter, $hops);