X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Flocation.pl;h=834ce613d164bdac8737e76a528d237c8d21e847;hb=ab811a0c902225075a9bd69749f65594079433a9;hp=f4ee0358a496c0654937cc67d5482fb56b841db3;hpb=78cf2dcb9be8128af7f8dc5ae37540c9c53c6057;p=spider.git diff --git a/cmd/set/location.pl b/cmd/set/location.pl index f4ee0358..834ce613 100644 --- a/cmd/set/location.pl +++ b/cmd/set/location.pl @@ -3,7 +3,7 @@ # # Copyright (c) 1998 - Dirk Koopman # -# $Id$ +# # my ($self, $line) = @_; @@ -18,7 +18,7 @@ return (1, $self->msg('loce1')) if !$line; return (1, $self->msg('loce3', uc $line)) if is_qra($line); return (1, $self->msg('loce2', $line)) unless is_latlong($line); -$user = DXUser->get_current($call); +$user = DXUser::get_current($call); if ($user) { $line = uc $line; my ($lat, $long) = DXBearing::stoll($line); @@ -30,7 +30,7 @@ if ($user) { my $l = DXBearing::lltos($lat, $long); my $s = DXProt::pc41($call, 3, $l); DXProt::eph_dup($s); - DXProt::broadcast_all_ak1a($s, $DXProt::me) ; + DXChannel::broadcast_all_nodes($s, $main::me) ; } my $qra = DXBearing::lltoqra($lat, $long); my $oldqra = $user->qra || ""; @@ -38,7 +38,7 @@ if ($user) { $user->qra($qra); my $s = DXProt::pc41($call, 5, $qra); DXProt::eph_dup($s); - DXProt::broadcast_all_ak1a($s, $DXProt::me); + DXChannel::broadcast_all_nodes($s, $main::me); } $user->put();