X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fhomenode.pl;h=b2d7d34280347b4d5b5a8c08c021b642bfe92b1e;hb=4a9c1e3fabd9931b914307ee4f79e7259b8cdfd6;hp=d85c893229cecd36da68707a5b024231cc5c9677;hpb=b4826d1f4125788e14fed3adbb99e66242904e74;p=spider.git diff --git a/cmd/set/homenode.pl b/cmd/set/homenode.pl index d85c8932..b2d7d342 100644 --- 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+$//; +$line =~ s/[{}]//g; # no braces allowed return (1, $self->msg('hnodee1')) if !$line; @@ -21,7 +22,9 @@ if ($user) { $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));