projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix rbn.pl
[spider.git]
/
cmd
/
set
/
lockout.pl
diff --git
a/cmd/set/lockout.pl
b/cmd/set/lockout.pl
index b5c010fdd9e3274aac7305f7876ce6f6cf90928a..feb326eb77b5b761cd47fe51533b940f2392bef3 100644
(file)
--- a/
cmd/set/lockout.pl
+++ b/
cmd/set/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(1);
$ref->put();
push @out, $self->msg("lockout", $call);
$ref->lockout(1);
$ref->put();
push @out, $self->msg("lockout", $call);