X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fqth.pl;h=2b696f94c29d05064ca9f4ce90646bd94a43a405;hb=35432a9f25350b9a5db513efbe248b61176b0684;hp=e76e5fffbdd4ae7d70a770d1a9681272809aaf90;hpb=64b4171276c84a8df58776608dd9f568adef27b2;p=spider.git diff --git a/cmd/set/qth.pl b/cmd/set/qth.pl index e76e5fff..2b696f94 100644 --- a/cmd/set/qth.pl +++ b/cmd/set/qth.pl @@ -13,6 +13,7 @@ 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; @@ -20,7 +21,9 @@ $user = DXUser->get_current($call); if ($user) { $user->qth($line); $user->put(); - DXProt::broadcast_all_ak1a(DXProt::pc41($call, 2, $line), $DXProt::me); + my $s = DXProt::pc41($call, 2, $line); + DXProt::eph_dup($s); + DXProt::broadcast_all_ak1a($s, $DXProt::me) ; return (1, $self->msg('qth', $line)); } else { return (1, $self->msg('namee2', $call));