projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added set/user command
[spider.git]
/
cmd
/
set
/
lockout.pl
diff --git
a/cmd/set/lockout.pl
b/cmd/set/lockout.pl
index a1e83c3235b7917c34214b23de30fd6c24cb7306..911a82887977390027ce527b274723187d01d341 100644
(file)
--- 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);