try to make sure that local nodes take precedence over external ones
[spider.git] / perl / DXProt.pm
index 53695e51846a0bf140f75efe0ff3bf6cd42af065..5e967fd228c83bfcf21c106b9314ca909f300ce4 100644 (file)
@@ -659,7 +659,8 @@ sub send_announce
                }
        }
 
-       if (AnnTalk::dup($from, $target, $_[2])) {
+       # the sysop ('*') thing is an attempt to minimise the damage caused by non-updated PC93 generators
+       if (AnnTalk::dup($from, $target, $_[2]) || ($_[3] eq '*' && AnnTalk::dup($from, 'ALL', $_[2]))) {
                my $dxchan = DXChannel::get($from);
                if ($self == $main::me && $dxchan && $dxchan->is_user) {
                        if ($dxchan->priv < 5) {