fix missing callsigns
[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, $line) = @_;
16 my @out;
17 return (1, $self->msg('e5')) if $self->priv < 9;
18 my $r = USDB::load($line) if $line;
19 USDB::init() if undef $r || $r =~ /^\d+ rec/;
20 return (1, @out);