2 # show who all the users are connected to
4 # Copyright (c) 2001 Dirk Koopman G1TLH
9 my ($self, $line) = @_;
10 my @list = map { uc } split /\s+/, $line; # list of callsigns of nodes
12 my @users = sort {$a->call cmp $b->call} values %Route::User::list;
14 foreach my $uref (@users) {
15 my $ucall = $uref->call;
16 next if @list && !grep $ucall =~ m|$_|, @list;
17 my $call = $uref->user_call;
18 my $l = join ',', (map {my $ref = Route::Node::get($_); $ref ? ($ref->user_call) : ("$_?")} sort @{$uref->parent});
19 push @out, "$call->$l";