projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added some anti thrash code for crossing messages
[spider.git]
/
cmd
/
set
/
location.pl
diff --git
a/cmd/set/location.pl
b/cmd/set/location.pl
index a1df5ede26e1d0b556df716756d046c5754d8779..a9be3e006d8bccef5b7d881ed59457096219ba19 100644
(file)
--- 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 = DXUser->get_current($call);
if ($user) {
$line = uc $line;
- $user->qra($line);
my ($lat, $long) = DXBearing::stoll($line);
$user->lat($lat);
$user->long($long);
my ($lat, $long) = DXBearing::stoll($line);
$user->lat($lat);
$user->long($long);
- DXProt::broadcast_ak1a(DXProt::pc41($call, 3, $line), $DXProt::me);
+ DXProt::broadcast_a
ll_a
k1a(DXProt::pc41($call, 3, $line), $DXProt::me);
if (!$user->qra) {
my $qra = DXBearing::lltos($lat, $long);
$user->qra($qra);
if (!$user->qra) {
my $qra = DXBearing::lltos($lat, $long);
$user->qra($qra);