X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Flockout.pl;h=911a82887977390027ce527b274723187d01d341;hb=2343a398ca48f31195884e223839dfa0cb1d135f;hp=a1e83c3235b7917c34214b23de30fd6c24cb7306;hpb=337f38bfac57a5e5df34c63094fb869b0e2f6bee;p=spider.git diff --git a/cmd/set/lockout.pl b/cmd/set/lockout.pl index a1e83c32..911a8288 100644 --- a/cmd/set/lockout.pl +++ b/cmd/set/lockout.pl @@ -22,7 +22,10 @@ foreach $call (@args) { $ref->put(); push @out, $self->msg("lockout", $call); } else { - push @out, $self->msg('e3', 'set/lockout', $call); + $ref = DXUser->new($call); + $ref->lockout(1); + $ref->put(); + push @out, $self->msg("lockoutc", $call); } } return (1, @out);