a8cec7de3b074614b5a2f4add19b3b3c944d3df8
[spider.git] / cmd / export_users.pl
1 #
2 # the export the user file to ascii command
3 #
4 #
5 #
6 my $self = shift;
7 my $line = shift || "$main::data/user_asc";
8 return (1, $self->msg('e5')) unless $self->priv >= 9;
9
10 my ($fn, $flag) = split /\s+/, $line;
11 my $strip = $flag eq 'strip';
12 return (1, DXUser::export($fn, $strip));