44689b543424ab840cbd7cfb595f3298b60d84db
[spider.git] / cmd / load / badmsg.pl
1 # reload the badmsg file
2 my $self = shift;
3 my @out;
4 return (0, $self->msg('e5')) if $self->priv < 9;
5 do "$main::data/badmsg.pl" if -e "$main::data/badmsg.pl";
6 push @out, $@ if $@;
7 @out = ($self->msg('ok')) unless @out;
8 return (1, @out);