From c3a4cf68570d40de3584280a49b05c75cc49da13 Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Mon, 13 Aug 2007 08:03:44 +0000 Subject: [PATCH] Descriptive Akismet spam return --- .../serendipity_event_spamblock/serendipity_event_spamblock.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; -- 2.39.5