X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Flocation.pl;h=a9be3e006d8bccef5b7d881ed59457096219ba19;hb=c560dd09aefc252be5664ba2dd329b7bc126176d;hp=a1df5ede26e1d0b556df716756d046c5754d8779;hpb=b4826d1f4125788e14fed3adbb99e66242904e74;p=spider.git diff --git a/cmd/set/location.pl b/cmd/set/location.pl index a1df5ede..a9be3e00 100644 --- a/cmd/set/location.pl +++ b/cmd/set/location.pl @@ -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);