move userconfig and nodeconfig to stat
[spider.git] / cmd / show / userconfig.pl
diff --git a/cmd/show/userconfig.pl b/cmd/show/userconfig.pl
deleted file mode 100644 (file)
index f432116..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-#
-# show who all the users are connected to
-#
-# Copyright (c) 2001 Dirk Koopman G1TLH
-#
-# $Id$
-#
-
-my ($self, $line) = @_;
-my @list = map { uc } split /\s+/, $line;           # list of callsigns of nodes
-my @out;
-my @users = sort {$a->call cmp $b->call} values %Route::User::list;
-
-foreach my $uref (@users) {
-       my $ucall = $uref->call;
-       next if @list && !grep $ucall =~ m|$_|, @list;
-       my $call = $uref->user_call;
-       my $l = join ',', (map {my $ref = Route::Node::get($_); $ref ? ($ref->user_call) : ("$_?")} sort @{$uref->parent});
-       push @out, "$call->$l";
-}
-
-return (1, @out);