2 # unlock a locked out user
4 # Copyright (c) 1998 Iain Phillips G0RDI
8 my ($self, $line) = @_;
9 my @args = split /\s+/, $line;
11 # my $priv = shift @args;
16 return (1, $self->msg('e5')) if $self->priv < 9;
18 foreach $call (@args) {
20 unless ($self->remotecmd) {
21 if ($ref = DXUser->get_current($call)) {
24 push @out, $self->msg("lockoutun", $call);
26 push @out, $self->msg('e3', 'unset/lockout', $call);
29 push @out, $self->msg('sorry');