X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Flockout.pl;h=d25a526108637d53755fef47593900b2dfa6eda4;hb=613301f150d03d194b6c64542d4809c74b1986c6;hp=b5c010fdd9e3274aac7305f7876ce6f6cf90928a;hpb=c560dd09aefc252be5664ba2dd329b7bc126176d;p=spider.git diff --git a/cmd/set/lockout.pl b/cmd/set/lockout.pl index b5c010fd..d25a5261 100644 --- a/cmd/set/lockout.pl +++ b/cmd/set/lockout.pl @@ -20,7 +20,7 @@ if ($self->priv < 9) { foreach $call (@args) { $call = uc $call; - unless ($self->remotecmd) { + unless ($self->remotecmd || $self->inscript) { if ($ref = DXUser->get_current($call)) { $ref->lockout(1); $ref->put();