1. reduced the amount of stuff compared against for dup announces.
[spider.git] / cmd / set / location.pl
index a1df5ede26e1d0b556df716756d046c5754d8779..a9be3e006d8bccef5b7d881ed59457096219ba19 100644 (file)
@@ -20,11 +20,10 @@ return (1, $self->msg('loce2', $line)) unless $line =~ /\d+ \d+ [NnSs] \d+ \d+ [
 $user = DXUser->get_current($call);
 if ($user) {
        $line = uc $line;
-       $user->qra($line);
        my ($lat, $long) = DXBearing::stoll($line);
        $user->lat($lat);
        $user->long($long);
-       DXProt::broadcast_ak1a(DXProt::pc41($call, 3, $line), $DXProt::me);
+       DXProt::broadcast_all_ak1a(DXProt::pc41($call, 3, $line), $DXProt::me);
        if (!$user->qra) {
                my $qra = DXBearing::lltos($lat, $long);
                $user->qra($qra);