From 60662a079bb5e434b4e7f05e9ae15554ef5b00c9 Mon Sep 17 00:00:00 2001 From: Ian Date: Mon, 4 Jun 2012 18:44:21 +0200 Subject: [PATCH] added some debug note --- .../serendipity_event_spamblock_rbl.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/serendipity_event_spamblock_rbl/serendipity_event_spamblock_rbl.php b/serendipity_event_spamblock_rbl/serendipity_event_spamblock_rbl.php index cfe062cb..fe54e9d4 100644 --- a/serendipity_event_spamblock_rbl/serendipity_event_spamblock_rbl.php +++ b/serendipity_event_spamblock_rbl/serendipity_event_spamblock_rbl.php @@ -109,6 +109,8 @@ class serendipity_event_spamblock_rbl extends serendipity_event // known spammer // DEBUG $remoteIP = '206.51.226.106'; + // A quick tip for testing: change $remoteIP = '$_SERVER['REMOTE_ADDR']; on line 89 to e.g. + // $remoteIP = '109.200.6.202'; // Comments should get rejected as this ip is on both blacklists right now. $r=$h->query($remoteIP); if ($r==2) {