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;
19 $line =~ s/[^\w\-\/]+//g;
23 my ($action, $count, $key, $data) = (0,0,0,0);
24 eval qq{for (\$action = DXUser::R_FIRST, \$count = 0; !\$DXUser::dbm->seq(\$key, \$data, \$action); \$action = DXUser::R_NEXT) {
25 if (\$data =~ m{registered}) {
26 if (!\$line || (\$line && \$key =~ /^$line/)) {
27 my \$u = DXUser::get_current(\$key);
28 if (\$u && \$u->registered) {
38 return (1, @out, $self->msg('rec', $count));