X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fqth.pl;h=567208c731362974382d1fbe573b28880c2a8ea9;hb=b983b31f7993e00b2b7d051fad5b7cb67427427a;hp=90d784e14ffc9cf936eb56574068826911b4a10d;hpb=b4826d1f4125788e14fed3adbb99e66242904e74;p=spider.git diff --git a/cmd/set/qth.pl b/cmd/set/qth.pl index 90d784e1..567208c7 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,7 @@ $user = DXUser->get_current($call); if ($user) { $user->qth($line); $user->put(); - DXProt::broadcast_ak1a(DXProt::pc41($call, 2, $line), $DXProt::me); + DXProt::broadcast_all_ak1a(DXProt::pc41($call, 2, $line), $DXProt::me); return (1, $self->msg('qth', $line)); } else { return (1, $self->msg('namee2', $call));