Do noip stuff before other stuff (idk)

This commit is contained in:
towards-a-new-leftypol 2021-01-24 07:29:12 +00:00
parent 65d82ff3f0
commit 53cb7ac5f0
2 changed files with 19 additions and 19 deletions

View file

@ -349,6 +349,17 @@
// Same as above but by a different IP address. (Same content, not necessarily same IP address.)
$config['flood_time_same'] = 30;
$config['filters'][] = array(
'condition' => array(
'OP' => true,
'flood-time-any' => &$config['flood_time_any']
),
'noip' => true,
'find-time' => 60 * 60 * 1,
'action' => 'reject',
'message' => 'Hmmm'
);
// Minimum time between posts by the same IP address (all boards).
$config['filters'][] = array(
'condition' => array(
@ -380,17 +391,6 @@
'message' => &$config['error']['flood']
);
$config['filters'][] = array(
'condition' => array(
'OP' => true,
'flood-time-any' => &$config['flood_time_any']
),
'noip' => true,
'find-time' => 60 * 60 * 1,
'action' => 'reject',
'message' => 'Hmmm'
);
// Example: Minimum time between posts with the same file hash.
// $config['filters'][] = array(
// 'condition' => array(