X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?p=spider.git;a=blobdiff_plain;f=cmd%2Fshow%2Fregistered.pl;h=5eb6d78d7264ce670582e9a728e9660ab493b9a2;hp=593ef0f50ba1d313864019ec4af53f8f90df9dd5;hb=ab811a0c902225075a9bd69749f65594079433a9;hpb=8182fba8e33d568b834621cc35c1ca7c74fb5487 diff --git a/cmd/show/registered.pl b/cmd/show/registered.pl index 593ef0f5..5eb6d78d 100644 --- a/cmd/show/registered.pl +++ b/cmd/show/registered.pl @@ -24,7 +24,7 @@ my ($action, $count, $key, $data) = (0,0,0,0); eval qq{for (\$action = DXUser::R_FIRST, \$count = 0; !\$DXUser::dbm->seq(\$key, \$data, \$action); \$action = DXUser::R_NEXT) { if (\$data =~ m{registered}) { if (!\$line || (\$line && \$key =~ /^$line/)) { - my \$u = DXUser->get_current(\$key); + my \$u = DXUser::get_current(\$key); if (\$u && \$u->registered) { push \@out, \$key; ++\$count;