From f7676d13d40e2ddc89e4ba427e63f9529ccb5976 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Thu, 10 Oct 2024 22:24:06 +0200 Subject: [PATCH] config.php: add ip block on api suggestion --- inc/config.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/inc/config.php b/inc/config.php index 62b6b84a..708dd3c3 100644 --- a/inc/config.php +++ b/inc/config.php @@ -251,7 +251,11 @@ 'asn_blacklist' => [], // IPs in this array won't be checked. // This can be used if known legitimate posters are getting blocked by a backend. - 'ip_whitelist' => [] + 'ip_whitelist' => [], + // Block according to the API suggestion. + // Use 0 to ignore this field, 1 to block those which are strongly suggested to be blocked, + // 2 to block all which aren't known good actors. + 'ip_block' => 0 ]; /*