summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-01-22 21:10:05 -0500
committerJoey Hess <joey@gnu.kitenet.net>2009-01-22 21:10:05 -0500
commitef856a5f7a4c893dde5a893971e4686d4c30c8f4 (patch)
tree937ea8cf60fc644b410131e9bef80d1775539705
parente1ff06b634afe790fe7661898bb20d7077d93588 (diff)
typo
-rw-r--r--IkiWiki/Plugin/blogspam.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/blogspam.pm b/IkiWiki/Plugin/blogspam.pm
index c482a5ae1..8552f3a1b 100644
--- a/IkiWiki/Plugin/blogspam.pm
+++ b/IkiWiki/Plugin/blogspam.pm
@@ -83,7 +83,7 @@ sub checkcontent (@) {
# and "buy".
push @options, "exclude=stopwords";
- my %req={
+ my %req=(
ip => $ENV{REMOTE_ADDR},
comment => $params{content},
subject => defined $params{subject} ? $params{subject} : "",
@@ -92,7 +92,7 @@ sub checkcontent (@) {
options => join(",", @options),
site => $config{url},
version => "ikiwiki ".$IkiWiki::version,
- };
+ );
my $res = $client->send_request('testComment', \%req);
if (! ref $res || ! defined $res->value) {