From c03ccd63a1f8f89c8fb3a43236eb3432b45083e2 Mon Sep 17 00:00:00 2001 From: towards-a-new-leftypol Date: Wed, 27 Jan 2021 22:51:33 -0500 Subject: [PATCH] OP rate limiting should only look at opening posts in the flood table --- inc/config.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/config.php b/inc/config.php index 73cc2fa9..cf9969bb 100644 --- a/inc/config.php +++ b/inc/config.php @@ -340,7 +340,7 @@ * Read more: http://tinyboard.org/docs/index.php?p=Config/Filters */ - // Minimum time between between each post. + // Minimum time between between each opening post. $config['flood_time_any'] = 40; // Minimum time between between each post by the same IP address. $config['flood_time'] = 10; @@ -351,6 +351,7 @@ $config['filters'][] = array( 'condition' => array( + 'flood-match' => array('isreply'), // Only match IP address 'OP' => true, 'flood-time-any' => &$config['flood_time_any'] ),