projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1ff06b
)
typo
author
Joey Hess
<joey@gnu.kitenet.net>
Fri, 23 Jan 2009 02:10:05 +0000
(21:10 -0500)
committer
Joey Hess
<joey@gnu.kitenet.net>
Fri, 23 Jan 2009 02:10:05 +0000
(21:10 -0500)
IkiWiki/Plugin/blogspam.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/blogspam.pm
b/IkiWiki/Plugin/blogspam.pm
index c482a5ae169b5c043795163d5586c90467aafef7..8552f3a1ba549d05cdd472e42bca8bfdf61fb007 100644
(file)
--- 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) {