X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Flockout.pl;fp=cmd%2Fshow%2Flockout.pl;h=6b7b7d49d667aa4b921c9d385f2a7d9b3c29831d;hb=bff9ecf00b14e7d71d9504088a2fd7b9e5115fe1;hp=0000000000000000000000000000000000000000;hpb=f155969d600561b9ef151a7ce2494a0c89aed033;p=spider.git diff --git a/cmd/show/lockout.pl b/cmd/show/lockout.pl new file mode 100644 index 00000000..6b7b7d49 --- /dev/null +++ b/cmd/show/lockout.pl @@ -0,0 +1,17 @@ +# +# show/lockout +# +# show all excluded users +# +# Copyright (c) 2000 Dirk Koopman G1TLH +# +# $Id$ +# + +my ($self, $line) = @_; +return (1, $self->msg('e5')) unless $self->priv >= 9; + +# search thru the user for nodes +my @out = sort map { my $ref; (($ref = DXUser->get_current($_)) && $ref->lockout) ? $_ : () } DXUser::get_all_calls; +return (1, @out); +