fix: 修复黑名单检查逻辑问题

This commit is contained in:
helloplhm-qwq
2023-11-26 12:18:29 +08:00
committed by Folltoshe
parent 73f65b941d
commit b80f4623f5

View File

@ -574,8 +574,10 @@ def check_ip_banned(ip_addr):
return False
return False
else:
if (variable.banList_suggest <= 10):
variable.banList_suggest += 1
logger.warning('黑名单功能已被关闭,我们墙裂建议你开启这个功能以防止恶意请求')
return False
initConfig()