X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fexport_users.pl;fp=cmd%2Fexport_users.pl;h=4c143ebbf43c80776bff8e65e616513f64f52057;hb=6c38bca91e6b75002e15cce29c45a894f675e22e;hp=0000000000000000000000000000000000000000;hpb=08c1d4cfc96357b3706f50d683c53abfe802d16b;p=spider.git diff --git a/cmd/export_users.pl b/cmd/export_users.pl new file mode 100644 index 00000000..4c143ebb --- /dev/null +++ b/cmd/export_users.pl @@ -0,0 +1,9 @@ +# +# the export the user file to ascii command +# +# $Id$ +# +my $self = shift; +return (1, $self->msg('e5')) unless $self->priv >= 9; +my $line = shift || "$main::data/user_asc"; +return (1, DXUser::export($line));