2 # set the prompt of the user
4 # Copyright (c) 2001 - Dirk Koopman
9 my ($self, $line) = @_;
10 my $call = $self->call;
13 # remove leading and trailing spaces
17 return (1, $self->msg('e9')) if !$line;
19 $user = DXUser->get_current($call);
22 $self->{prompt} = $line; # this is like this because $self->prompt is a function that does something else
24 return (1, $self->msg('prs', $line));
26 return (1, $self->msg('namee2', $call));