master
Joey Hess 2009-01-22 21:10:05 -05:00
parent e1ff06b634
commit ef856a5f7a
1 changed files with 2 additions and 2 deletions

View File

@ -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) {