X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fqra.pl;h=96000de4ced32603a0b8433d2485f7d1eaf97e08;hb=996d9774dad0fc0133f8497d9d264f4f5a4265b3;hp=60c6dc1603fcad5b40463f86e559e6041e844d03;hpb=78cf2dcb9be8128af7f8dc5ae37540c9c53c6057;p=spider.git diff --git a/cmd/set/qra.pl b/cmd/set/qra.pl index 60c6dc16..96000de4 100644 --- a/cmd/set/qra.pl +++ b/cmd/set/qra.pl @@ -3,7 +3,7 @@ # # Copyright (c) 1998 - Dirk Koopman # -# $Id$ +# # my ($self, $line) = @_; @@ -17,7 +17,7 @@ $line =~ s/\s+$//; return (1, $self->msg('qrae1')) if !$line; return (1, $self->msg('qrae2', $line)) unless is_qra($line); -$user = DXUser->get_current($call); +$user = DXUser::get_current($call); if ($user) { my $qra = uc $line; my $oldqra = $user->qra || ""; @@ -25,7 +25,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); } my ($lat, $long) = DXBearing::qratoll($qra); my $oldlat = $user->lat || 0; @@ -36,7 +36,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) ; } $user->put();