X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fload%2Fusdb.pl;h=88bf7b1b7ecbd82f66970623df3006bc8a9a221e;hb=refs%2Fheads%2Fnewpc92timings;hp=7ed76067a9dc4082ca2b8820597ba4cf698d28e7;hpb=d0e554d25adfe94a2d5a1c3f57b48bfab1a9f4a2;p=spider.git diff --git a/cmd/load/usdb.pl b/cmd/load/usdb.pl index 7ed76067..88bf7b1b 100644 --- a/cmd/load/usdb.pl +++ b/cmd/load/usdb.pl @@ -9,14 +9,10 @@ # # Copyright (c) 2002 Dirk Koopman G1TLH # -# $Id$ +# # my ($self, $line) = @_; my @out; return (1, $self->msg('e5')) if $self->priv < 9; -return (1, $self->msg('e3', "load/usdb", $line)) if $line && !-r $line; -$line = "$main::data/usdbraw" unless $line; -push @out, (USDB::load($line)); -@out = ($self->msg('ok')) unless @out; -return (1, @out); +return (1, USDB::init());