diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-01-25 14:37:04 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-01-25 14:37:04 -0500 |
commit | ee74e61ffc6fa589361a080a2c1476b0fe5afaa3 (patch) | |
tree | 1584c4657e21495afe5f04b5a39e4e2991ccfab7 /IkiWiki | |
parent | caa6a784b06078105944ff143efdf2e2829a161a (diff) |
blogspam: Fix use of blogspam_options and blogspam_server config settings.
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/blogspam.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/IkiWiki/Plugin/blogspam.pm b/IkiWiki/Plugin/blogspam.pm index 8552f3a1b..cbd9859a5 100644 --- a/IkiWiki/Plugin/blogspam.pm +++ b/IkiWiki/Plugin/blogspam.pm @@ -62,11 +62,11 @@ sub checkcontent (@) { } my $url=$defaulturl; - $url = $params{blogspam_server} if exists $params{blogspam_server}; + $url = $config{blogspam_server} if exists $config{blogspam_server}; my $client = RPC::XML::Client->new($url); - my @options = split(",", $params{blogspam_options}) - if exists $params{blogspam_options}; + my @options = split(",", $config{blogspam_options}) + if exists $config{blogspam_options}; # Allow short comments and whitespace-only edits, unless the user # has overridden min-words themselves. |