projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix rcmds so that they are easier to maintain and more reliable
[spider.git]
/
cmd
/
set
/
homenode.pl
diff --git
a/cmd/set/homenode.pl
b/cmd/set/homenode.pl
index f1e909ffe81412cea67ab365d8bfee522384361f..cf8d97154d60a0316359452bd061c0b65554380a 100644
(file)
--- a/
cmd/set/homenode.pl
+++ b/
cmd/set/homenode.pl
@@
-13,6
+13,7
@@
my $user;
# remove leading and trailing spaces
$line =~ s/^\s+//;
$line =~ s/\s+$//;
# remove leading and trailing spaces
$line =~ s/^\s+//;
$line =~ s/\s+$//;
+$line =~ s/[{}]//g; # no braces allowed
return (1, $self->msg('hnodee1')) if !$line;
return (1, $self->msg('hnodee1')) if !$line;
@@
-21,7
+22,9
@@
if ($user) {
$line = uc $line;
$user->homenode($line);
$user->put();
$line = uc $line;
$user->homenode($line);
$user->put();
- DXProt::broadcast_all_ak1a(DXProt::pc41($call, 4, $line), $DXProt::me);
+ my $s = DXProt::pc41($call, 4, $line);
+ DXProt::eph_dup($s);
+ DXProt::broadcast_all_ak1a($s, $DXProt::me) ;
return (1, $self->msg('hnode', $line));
} else {
return (1, $self->msg('namee2', $call));
return (1, $self->msg('hnode', $line));
} else {
return (1, $self->msg('namee2', $call));