projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
extend the Web interface protocol further
[spider.git]
/
cmd
/
unset
/
lockout.pl
diff --git
a/cmd/unset/lockout.pl
b/cmd/unset/lockout.pl
index 5cc1ac3dda1260cb966a03bc30cd397d4bf2bc15..02169f30744ea2ac4fe790218cf64faba24fb634 100644
(file)
--- a/
cmd/unset/lockout.pl
+++ b/
cmd/unset/lockout.pl
@@
-3,7
+3,7
@@
#
# Copyright (c) 1998 Iain Phillips G0RDI
#
#
# Copyright (c) 1998 Iain Phillips G0RDI
#
-#
$Id$
+#
#
my ($self, $line) = @_;
my @args = split /\s+/, $line;
#
my ($self, $line) = @_;
my @args = split /\s+/, $line;
@@
-20,8
+20,8
@@
if ($self->priv < 9) {
foreach $call (@args) {
$call = uc $call;
foreach $call (@args) {
$call = uc $call;
- unless ($self->remotecmd) {
- if ($ref = DXUser
->
get_current($call)) {
+ unless ($self->remotecmd
|| $self->inscript
) {
+ if ($ref = DXUser
::
get_current($call)) {
$ref->lockout(0);
$ref->put();
push @out, $self->msg("lockoutun", $call);
$ref->lockout(0);
$ref->put();
push @out, $self->msg("lockoutun", $call);