From: garvinhicking Date: Mon, 13 Aug 2007 08:03:44 +0000 (+0000) Subject: Descriptive Akismet spam return X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=c3a4cf68570d40de3584280a49b05c75cc49da13;p=s9y.git Descriptive Akismet spam return --- diff --git a/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php b/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php index 57b1768..3796c10 100644 --- a/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php +++ b/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php @@ -499,7 +499,7 @@ var $filter_defaults; } elseif (preg_match('@false@i', $reqdata)) { $ret['is_spam'] = false; $ret['message'] = $reqdata; - $this->log($this->logfile, $eventData['id'], 'API_ERROR', 'Akismet API verification failed: ' . $reqdata, $addData); + $this->log($this->logfile, $eventData['id'], 'AKISMET_SPAM', 'Akismet API returned spam', $addData); } else { $ret['is_spam'] = false; $ret['message'] = 'Akismet API failure';