2 # set the name of the user
4 # Copyright (c) 1998 - Dirk Koopman
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('namee1')) if !$line;
20 $user = DXUser->get_current($call);
24 my $s = DXProt::pc41($call, 1, $line);
26 DXChannel::broadcast_all_nodes($s, $main::me) ;
27 return (1, $self->msg('name', $line));
29 return (1, $self->msg('namee2', $call));