X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProt.pm;h=deda8f45c2abdd8c5b8aaa6d5c69d39ab98d2bb4;hb=e07645cec07ba739a20cc009d7dd138c962b66eb;hp=adf112b0884b86adaecd94f39cc01896926b94b9;hpb=90a05bee744c82d66ffdd0a0548b2ae97d7dfb56;p=spider.git diff --git a/perl/DXProt.pm b/perl/DXProt.pm index adf112b0..deda8f45 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -1839,10 +1839,12 @@ sub send_chat # 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 == $main::me; - next if $dxchan == $self && $self->is_node; - next unless $dxchan->is_spider || $dxchan->is_ak1a; - next if $target eq 'LOCAL' && $dxchan->is_node; + if ($dxchan->is_node) { + next if $dxchan == $main::me; + next if $dxchan == $self; + next unless $dxchan->is_spider || $dxchan->is_ak1a; + next if $target eq 'LOCAL'; + } $dxchan->chat($line, $self->{isolate}, $target, $_[1], $text, @_, $self->{call}, $ann_dxcc, $ann_itu, $ann_cq, $org_dxcc, $org_itu, $org_cq); }