From a14dc229b7487f08a991c1e2cde5e34245dd3297 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Thu, 7 Aug 2003 20:30:30 +0000 Subject: [PATCH] Decrease flood time threshhold. git-svn-id: http://svn.automattic.com/wordpress/trunk@298 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- b2comments.post.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/b2comments.post.php b/b2comments.post.php index 55299d5d5f..5d973c95d4 100644 --- a/b2comments.post.php +++ b/b2comments.post.php @@ -77,8 +77,8 @@ $ok=1; if (!empty($lasttime)) { $time_lastcomment= mysql2date('U', $lasttime); $time_newcomment= mysql2date('U', "$now"); - if (($time_newcomment - $time_lastcomment) < 30) - $ok=0; + if (($time_newcomment - $time_lastcomment) < 10) + $ok = 0; } /* end flood-protection */ @@ -128,7 +128,7 @@ if ($ok) { header("Location: $location"); } } else { - die('Sorry, you can only post a new comment once every 30 seconds.'); + die('Sorry, you can only post a new comment once every 10 seconds.'); } ?> \ No newline at end of file