X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fload%2Fbadwords.pl;fp=cmd%2Fload%2Fbadwords.pl;h=06d9c063a282470c7b0cef4a756c928b92c0441d;hb=8e0eef80216fbb2bca3606daf5797e39b2889d7a;hp=0000000000000000000000000000000000000000;hpb=eef5d189206ebcfaf8e83675803829c72671a320;p=spider.git diff --git a/cmd/load/badwords.pl b/cmd/load/badwords.pl new file mode 100644 index 00000000..06d9c063 --- /dev/null +++ b/cmd/load/badwords.pl @@ -0,0 +1,7 @@ +# reload the badwords file +my $self = shift; +my @out; +return (1, $self->msg('e5')) if $self->priv < 9; +push @out, (BadWords::load()); +@out = ($self->msg('ok')) unless @out; +return (1, @out);