- $user->lat($lat);
- $user->long($long);
- DXProt::broadcast_all_ak1a(DXProt::pc41($call, 3, $line), $DXProt::me);
- unless ($user->qra && DXBearing::is_qra($user->qra) ) {
- my $qra = DXBearing::lltoqra($lat, $long);
+ my $oldlat = $user->lat || 0;
+ my $oldlong = $user->long || 0;
+ if ($oldlat != $lat || $oldlong != $long) {
+ $user->lat($lat);
+ $user->long($long);
+ my $l = DXBearing::lltos($lat, $long);
+ my $s = DXProt::pc41($call, 3, $l);
+ DXProt::eph_dup($s);
+ DXChannel::broadcast_all_nodes($s, $main::me) ;
+ }
+ my $qra = DXBearing::lltoqra($lat, $long);
+ my $oldqra = $user->qra || "";
+ if ($oldqra ne $qra) {