projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add credit
[spider.git]
/
cmd
/
load
/
usdb.pl
diff --git
a/cmd/load/usdb.pl
b/cmd/load/usdb.pl
index 2ca209a3be80b997050db5a517f609854b3a65bc..d2b10e308626f79e753fae7b7385c52f38eda70b 100644
(file)
--- a/
cmd/load/usdb.pl
+++ b/
cmd/load/usdb.pl
@@
-12,9
+12,7
@@
# $Id$
#
# $Id$
#
-my
$self = shift
;
+my
($self, $line) = @_
;
my @out;
return (1, $self->msg('e5')) if $self->priv < 9;
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());