detail messaging
[spider.git] / cmd / load / usdb.pl
index 2ca209a3be80b997050db5a517f609854b3a65bc..d2b10e308626f79e753fae7b7385c52f38eda70b 100644 (file)
@@ -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());