]> gb7djk.dxcluster.net Git - spider.git/commitdiff
arrange for chat announces only to go to spider nodes
authorminima <minima>
Wed, 12 Mar 2003 18:02:11 +0000 (18:02 +0000)
committerminima <minima>
Wed, 12 Mar 2003 18:02:11 +0000 (18:02 +0000)
perl/DXProt.pm

index 25e98cc4786d62b829df57e7e0a119906ae1a4b2..adf112b0884b86adaecd94f39cc01896926b94b9 100644 (file)
@@ -1841,7 +1841,9 @@ sub send_chat
        foreach $dxchan (@dxchan) {
                next if $dxchan == $main::me;
                next if $dxchan == $self && $self->is_node;
        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;
                next if $target eq 'LOCAL' && $dxchan->is_node;
+               
                $dxchan->chat($line, $self->{isolate}, $target, $_[1], $text, @_, $self->{call}, $ann_dxcc, $ann_itu, $ann_cq, $org_dxcc, $org_itu, $org_cq);
        }
 }
                $dxchan->chat($line, $self->{isolate}, $target, $_[1], $text, @_, $self->{call}, $ann_dxcc, $ann_itu, $ann_cq, $org_dxcc, $org_itu, $org_cq);
        }
 }