X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Flockout.pl;h=911a82887977390027ce527b274723187d01d341;hb=f38b81521d0430ef67023c3afaab2f4180e5b3bf;hp=a1e83c3235b7917c34214b23de30fd6c24cb7306;hpb=7dab23babce4a0e1a17e18a1d9b8146d342c75cc;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);