X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Flockout.pl;h=ac7cc83a5d11a15afc33c39b5919ef8aa33b4f99;hb=6fb4862ab94c57166f0f09c0a5f1a28cb35b5189;hp=b5c010fdd9e3274aac7305f7876ce6f6cf90928a;hpb=c560dd09aefc252be5664ba2dd329b7bc126176d;p=spider.git diff --git a/cmd/set/lockout.pl b/cmd/set/lockout.pl index b5c010fd..ac7cc83a 100644 --- a/cmd/set/lockout.pl +++ b/cmd/set/lockout.pl @@ -3,7 +3,7 @@ # # Copyright (c) 1998 Iain Phillips G0RDI # -# $Id$ +# # my ($self, $line) = @_; my @args = split /\s+/, $line; @@ -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();