aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-01-25 14:37:04 -0500
committerJoey Hess <joey@gnu.kitenet.net>2009-01-25 14:37:04 -0500
commitee74e61ffc6fa589361a080a2c1476b0fe5afaa3 (patch)
tree1584c4657e21495afe5f04b5a39e4e2991ccfab7
parentcaa6a784b06078105944ff143efdf2e2829a161a (diff)
downloadikiwiki-ee74e61ffc6fa589361a080a2c1476b0fe5afaa3.tar
ikiwiki-ee74e61ffc6fa589361a080a2c1476b0fe5afaa3.tar.gz
blogspam: Fix use of blogspam_options and blogspam_server config settings.
-rw-r--r--IkiWiki/Plugin/blogspam.pm6
-rw-r--r--debian/changelog4
2 files changed, 6 insertions, 4 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.
diff --git a/debian/changelog b/debian/changelog
index 7f6605fbf..96089c101 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,10 @@ ikiwiki (3.03) UNRELEASED; urgency=low
* Avoid feeding decoded unicode to Term::ReadLine.
Closes: 512169
- * blogspam: Log spam info on failure.
+ * blogspam: Log spam info on failure in debug mode.
* Remove nonstandard css. Closes: #512378
+ * blogspam: Fix use of blogspam_options and blogspam_server
+ config settings.
-- Joey Hess <joeyh@debian.org> Sun, 18 Jan 2009 14:50:57 -0500