X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fsys_location.pl;h=58fb6ae5b5c7467818149f4ae2780f5c8b9e0151;hb=8007adef1e949086cb27444d61f554ba456c0685;hp=aac91823a694117ff464107b070acee534971f1a;hpb=50f6466ca2dff82ca470a4abe327d741cffef61a;p=spider.git diff --git a/cmd/set/sys_location.pl b/cmd/set/sys_location.pl index aac91823..58fb6ae5 100644 --- a/cmd/set/sys_location.pl +++ b/cmd/set/sys_location.pl @@ -17,7 +17,8 @@ $line =~ s/^\s+//; $line =~ s/\s+$//; return (1, $self->msg('loce1')) if !$line; -return (1, $self->msg('loce2', $line)) unless $line =~ /\d+ \d+ [NnSs] \d+ \d+ [EeWw]/o; +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); if ($user) {