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 DXProt::broadcast_all_ak1a(DXProt::pc41($call, 4, $line), $DXProt::me);
26 return (1, $self->msg('hnode', $line));
28 return (1, $self->msg('namee2', $call));