Add a ring buffer to debugging + other things
[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;;
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
13 my @out = $self->spawn_cmd("export_users", \&DXUser::export, args => [$fn, $strip]);
14
15 return (1, @out);
16
17