X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fload%2Fbadmsg.pl;h=5a5cbc3829dab56fc3ed05e30b05216f2bb299f4;hb=093ac03207bd4468fa89dc7438936b245a92cbe5;hp=44689b543424ab840cbd7cfb595f3298b60d84db;hpb=295091c6014aadfa875b2617b2062b2d2daaced2;p=spider.git diff --git a/cmd/load/badmsg.pl b/cmd/load/badmsg.pl index 44689b54..5a5cbc38 100644 --- a/cmd/load/badmsg.pl +++ b/cmd/load/badmsg.pl @@ -2,7 +2,6 @@ my $self = shift; my @out; return (0, $self->msg('e5')) if $self->priv < 9; -do "$main::data/badmsg.pl" if -e "$main::data/badmsg.pl"; -push @out, $@ if $@; +push @out, (DXMsg::load_badmsg()); @out = ($self->msg('ok')) unless @out; return (1, @out);