OP rate limiting should only look at opening posts in the flood table
This commit is contained in:
parent
ae9e94396d
commit
c03ccd63a1
|
@ -340,7 +340,7 @@
|
||||||
* Read more: http://tinyboard.org/docs/index.php?p=Config/Filters
|
* 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;
|
$config['flood_time_any'] = 40;
|
||||||
// Minimum time between between each post by the same IP address.
|
// Minimum time between between each post by the same IP address.
|
||||||
$config['flood_time'] = 10;
|
$config['flood_time'] = 10;
|
||||||
|
@ -351,6 +351,7 @@
|
||||||
|
|
||||||
$config['filters'][] = array(
|
$config['filters'][] = array(
|
||||||
'condition' => array(
|
'condition' => array(
|
||||||
|
'flood-match' => array('isreply'), // Only match IP address
|
||||||
'OP' => true,
|
'OP' => true,
|
||||||
'flood-time-any' => &$config['flood_time_any']
|
'flood-time-any' => &$config['flood_time_any']
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue