2 # set the user's home node
4 # Copyright (c) 1998 - Dirk Koopman G1TLH
9 my ($self, $line) = @_;
10 my $call = $self->call;
13 # remove leading and trailing spaces
16 $line =~ s/[{}]//g; # no braces allowed
18 return (1, $self->msg('hnodee1')) if !$line;
20 $user = DXUser::get_current($call);
23 $user->homenode($line);
25 my $s = DXProt::pc41($call, 4, $line);
27 DXChannel::broadcast_all_nodes($s, $main::me) ;
28 return (1, $self->msg('hnode', $line));
30 return (1, $self->msg('namee2', $call));