]> sipb.mit.edu Git - ikiwiki.git/commitdiff
typo
authorJoey Hess <joey@gnu.kitenet.net>
Fri, 23 Jan 2009 02:10:05 +0000 (21:10 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Fri, 23 Jan 2009 02:10:05 +0000 (21:10 -0500)
IkiWiki/Plugin/blogspam.pm

index c482a5ae169b5c043795163d5586c90467aafef7..8552f3a1ba549d05cdd472e42bca8bfdf61fb007 100644 (file)
@@ -83,7 +83,7 @@ sub checkcontent (@) {
        # and "buy".
        push @options, "exclude=stopwords";
 
        # and "buy".
        push @options, "exclude=stopwords";
 
-       my %req={
+       my %req=(
                ip => $ENV{REMOTE_ADDR},
                comment => $params{content},
                subject => defined $params{subject} ? $params{subject} : "",
                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,
                options => join(",", @options),
                site => $config{url},
                version => "ikiwiki ".$IkiWiki::version,
-       };
+       );
        my $res = $client->send_request('testComment', \%req);
 
        if (! ref $res || ! defined $res->value) {
        my $res = $client->send_request('testComment', \%req);
 
        if (! ref $res || ! defined $res->value) {