2ca209a3be80b997050db5a517f609854b3a65bc
[spider.git] / cmd / load / usdb.pl
1 #
2 # reload the usdb file
3 #
4 # Be warned, if this is the full database the size of your image will
5 # increase by at least 20Mb and all activity will stop for several
6 # minutes
7
8 # So there.
9 #
10 # Copyright (c) 2002 Dirk Koopman G1TLH
11 #
12 # $Id$
13 #
14
15 my $self = shift;
16 my @out;
17 return (1, $self->msg('e5')) if $self->priv < 9;
18 push @out, (USDB::load());
19 @out = ($self->msg('ok')) unless @out;
20 return (1, @out);