projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(re)fix the final hole in the PC9x TS checking code
[spider.git]
/
cmd
/
set
/
homenode.pl
diff --git
a/cmd/set/homenode.pl
b/cmd/set/homenode.pl
index d85c893229cecd36da68707a5b024231cc5c9677..a643bed7b094ada5674035640cd3a15d7dd6b7ce 100644
(file)
--- a/
cmd/set/homenode.pl
+++ b/
cmd/set/homenode.pl
@@
-3,7
+3,7
@@
#
# Copyright (c) 1998 - Dirk Koopman G1TLH
#
#
# Copyright (c) 1998 - Dirk Koopman G1TLH
#
-#
$Id$
+#
#
my ($self, $line) = @_;
#
my ($self, $line) = @_;
@@
-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_ak1a(DXProt::pc41($call, 4, $line), $DXProt::me);
+ my $s = DXProt::pc41($call, 4, $line);
+ DXProt::eph_dup($s);
+ DXChannel::broadcast_all_nodes($s, $main::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));