4 # show all registered users
6 # Copyright (c) 2001 Dirk Koopman G1TLH
11 my ($self, $line) = @_;
12 return (1, $self->msg('e5')) unless $self->priv >= 9;
20 $line =~ s/[^\w\-\/]+//g;
25 $call{$_} = 1 for split /\s+/, $line;
28 my ($action, $count, $key, $data) = (0,0,0,0);
30 for ($action = DXUser::R_FIRST, $count = 0; !$DXUser::dbm->seq($key, $data, $action); $action = DXUser::R_NEXT) {
31 if ($data =~ m{registered}) {
32 $call{$key} = 1; # possible candidate
37 foreach $key (sort keys %call) {
38 my $u = DXUser::get_current($key);
39 if ($u && $u->registered) {
46 foreach my $call (@val) {
48 push @out, sprintf "%-12s %-12s %-12s %-12s %-12s", @l;
54 push @l, "" while @l < 5;
55 push @out, sprintf "%-12s %-12s %-12s %-12s %-12s", @l;
58 push @out, $self->msg('rec', $count);