*** empty log message ***
[spider.git] / cmd / set / lockout.pl
index a1e83c3235b7917c34214b23de30fd6c24cb7306..911a82887977390027ce527b274723187d01d341 100644 (file)
@@ -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);