OP rate limiting should only look at opening posts in the flood table

This commit is contained in:
towards-a-new-leftypol 2021-01-27 22:51:33 -05:00
parent f71bc3337b
commit 66b6682952

View File

@ -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']
),