X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProtHandle.pm;h=4e55b9402c534a512a530362d26f380c9c2218b8;hb=16b98fc9cae1d4fb357aad17850a2aa1a601b053;hp=4d759d4ecd21b937c73dbb210340cfb8e800a73b;hpb=903181489cdfc7998932577c8978b9b8101d105b;p=spider.git diff --git a/perl/DXProtHandle.pm b/perl/DXProtHandle.pm index 4d759d4e..4e55b940 100644 --- a/perl/DXProtHandle.pm +++ b/perl/DXProtHandle.pm @@ -1169,6 +1169,16 @@ sub handle_41 return; } + if ($call eq $main::mycall && $call eq $main::myalias) { + dbg "DXPROT: PC41 trying to update $call from outside via $origin, ignored"; + return; + } + my $chan = DXChannel::get($call); + if ($chan) { + dbg "DXPROT: PC41 trying to update online $call from outside via $origin, ignored"; + return; + } + # add this station to the user database, if required my $user = DXUser::get_current($call); $user = DXUser->new($call) unless $user; @@ -1176,9 +1186,6 @@ sub handle_41 if ($sort == 1) { if (($val =~ /spotter/i || $val =~ /self/i) && $user->name && $user->name ne $val) { dbg("PCPROT: invalid name") if isdbg('chanerr'); - if ($main::mycall eq 'GB7DJK' || $main::mycall eq 'GB7BAA' || $main::mycall eq 'WR3D') { - DXChannel::broadcast_nodes(pc41($pc->[1], 1, $user->name)); # send it to everyone including me - } return; } $user->name($val);