typo
parent
e1ff06b634
commit
ef856a5f7a
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue