remove $Id$ strings from everywhere that I can find
[spider.git] / cmd / unset / lockout.pl
index 5cc1ac3dda1260cb966a03bc30cd397d4bf2bc15..406d2125f408e18a46e221e5228c93d9c6747824 100644 (file)
@@ -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(0);
                        $ref->put();