projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix initial set of bugs pointed on mailing list
[spider.git]
/
cmd
/
load
/
usdb.pl
diff --git
a/cmd/load/usdb.pl
b/cmd/load/usdb.pl
index 7ed76067a9dc4082ca2b8820597ba4cf698d28e7..d2b10e308626f79e753fae7b7385c52f38eda70b 100644
(file)
--- a/
cmd/load/usdb.pl
+++ b/
cmd/load/usdb.pl
@@
-15,8
+15,4
@@
my ($self, $line) = @_;
my @out;
return (1, $self->msg('e5')) if $self->priv < 9;
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());