X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fload%2Fbadmsg.pl;h=18eb747f26a795650936909b3109cfc413552979;hb=a8b7d0b77fd3cefb1943ce7548f8c803aa83ff39;hp=5a5cbc3829dab56fc3ed05e30b05216f2bb299f4;hpb=3784e03cd598b7f540fb849a533b7589867a066a;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);