projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added cty-1603 and changes to wpxloc.raw from AD1C and WB8ZRL.
[spider.git]
/
cmd
/
set
/
address.pl
diff --git
a/cmd/set/address.pl
b/cmd/set/address.pl
index f5922d9c31e53cd8b177020576025ff50e22c239..daea06c84aa35a9c2ebd857e9a9386b09b71d428 100644
(file)
--- a/
cmd/set/address.pl
+++ b/
cmd/set/address.pl
@@
-11,17
+11,9
@@
my $call;
my @out;
my $user;
my @out;
my $user;
-if ($self->priv >= 5) { # allow a callsign as first arg
- my @args = split /\s+/, $line;
- $call = UC $args[0];
- $user = DXUser->get_current($call);
- shift @args if $user;
- $line = join ' ', @args;
-} else {
- $user = $self->user;
-}
-
+$user = $self->user;
+$line =~ s/[{}]//g; # no braces allowed
$user->addr($line);
$user->addr($line);
-push @out,
DXM::msg('addr', $call
);
+push @out,
$self->msg('addr', $line
);
return (1, @out);
return (1, @out);