X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fload%2Fusdb.pl;h=d2b10e308626f79e753fae7b7385c52f38eda70b;hb=cb5f21f8f960a003b80e7415f945d718f4b7d43e;hp=2ca209a3be80b997050db5a517f609854b3a65bc;hpb=3299a5ecf4b1bc16039b5300ce78480bc0e9a999;p=spider.git diff --git a/cmd/load/usdb.pl b/cmd/load/usdb.pl index 2ca209a3..d2b10e30 100644 --- a/cmd/load/usdb.pl +++ b/cmd/load/usdb.pl @@ -12,9 +12,7 @@ # $Id$ # -my $self = shift; +my ($self, $line) = @_; my @out; return (1, $self->msg('e5')) if $self->priv < 9; -push @out, (USDB::load()); -@out = ($self->msg('ok')) unless @out; -return (1, @out); +return (1, USDB::init());