X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fload%2Fbadmsg.pl;h=18eb747f26a795650936909b3109cfc413552979;hb=59a8866a3f16a11ae3d981a7d4f6d017d2e1ad07;hp=5a5cbc3829dab56fc3ed05e30b05216f2bb299f4;hpb=093ac03207bd4468fa89dc7438936b245a92cbe5;p=spider.git diff --git a/cmd/load/badmsg.pl b/cmd/load/badmsg.pl index 5a5cbc38..18eb747f 100644 --- a/cmd/load/badmsg.pl +++ b/cmd/load/badmsg.pl @@ -1,7 +1,7 @@ # reload the badmsg file my $self = shift; my @out; -return (0, $self->msg('e5')) if $self->priv < 9; +return (1, $self->msg('e5')) if $self->priv < 9; push @out, (DXMsg::load_badmsg()); @out = ($self->msg('ok')) unless @out; return (1, @out);