X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fqth.pl;h=84462f0c3a58a3d363be66753aac395bc21b4d0c;hb=ab811a0c902225075a9bd69749f65594079433a9;hp=90d784e14ffc9cf936eb56574068826911b4a10d;hpb=b4826d1f4125788e14fed3adbb99e66242904e74;p=spider.git diff --git a/cmd/set/qth.pl b/cmd/set/qth.pl index 90d784e1..84462f0c 100644 --- a/cmd/set/qth.pl +++ b/cmd/set/qth.pl @@ -3,7 +3,7 @@ # # Copyright (c) 1998 - Dirk Koopman # -# $Id$ +# # my ($self, $line) = @_; @@ -13,14 +13,17 @@ my $user; # remove leading and trailing spaces $line =~ s/^\s+//; $line =~ s/\s+$//; +$line =~ s/[{}]//g; # no braces allowed return (1, $self->msg('qthe1')) if !$line; -$user = DXUser->get_current($call); +$user = DXUser::get_current($call); if ($user) { $user->qth($line); $user->put(); - DXProt::broadcast_ak1a(DXProt::pc41($call, 2, $line), $DXProt::me); + my $s = DXProt::pc41($call, 2, $line); + DXProt::eph_dup($s); + DXChannel::broadcast_all_nodes($s, $main::me) ; return (1, $self->msg('qth', $line)); } else { return (1, $self->msg('namee2', $call));