X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProt.pm;h=adf112b0884b86adaecd94f39cc01896926b94b9;hb=97ed91562320bf23d3ca62194a732fb9d89bb8ba;hp=6bb1aecf49471b6912901295e235cd6d3856b942;hpb=8aa19bb5e21bbbea68b6610e3f4c52f5835b209e;p=spider.git diff --git a/perl/DXProt.pm b/perl/DXProt.pm index 6bb1aecf..adf112b0 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -611,6 +611,12 @@ sub handle_12 $self->send_chat($line, @_[1..6]); } elsif ($_[2] eq '*' || $_[2] eq $main::mycall) { + # ignore something that looks like a chat line coming in with sysop + # flag - this is a kludge... + if ($_[3] =~ /^\#\d+ / && $_[4] eq '*') { + dbg('PCPROT: Probable chat rewrite, dropped') if isdbg('chanerr'); + return; + } # here's a bit of fun, convert incoming ann with a callsign in the first word # or one saying 'to ' to a talk if we can route to the recipient @@ -1835,7 +1841,9 @@ sub send_chat 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; + $dxchan->chat($line, $self->{isolate}, $target, $_[1], $text, @_, $self->{call}, $ann_dxcc, $ann_itu, $ann_cq, $org_dxcc, $org_itu, $org_cq); } }