added set/lockout
[spider.git] / cmd / show / isolate.pl
diff --git a/cmd/show/isolate.pl b/cmd/show/isolate.pl
new file mode 100644 (file)
index 0000000..bea994f
--- /dev/null
@@ -0,0 +1,16 @@
+#
+# show/isolate
+#
+# show all excluded users 
+#
+# Copyright (c) 2000 Dirk Koopman G1TLH
+#
+# $Id$
+#
+
+my ($self, $line) = @_;
+return (1, $self->msg('e5')) unless $self->priv >= 1;
+
+# search thru the user for nodes
+my @out = sort map { my $ref; (($ref = DXUser->get_current($_)) && $ref->isolate) ? $_ : () } DXUser::get_all_calls;
+return (1, @out);