From c96b2a4feae29a89fdcb58fcdf4e66b03d3193dc Mon Sep 17 00:00:00 2001 From: david082321 <7046617+david082321@users.noreply.github.com> Date: Mon, 11 Sep 2023 19:04:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=BB=91=E5=90=8D=E5=8D=95?= =?UTF-8?q?=E5=A4=B1=E6=95=88=E6=97=B6=E7=9A=84=E5=8F=8D=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/auth.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/auth.php b/utils/auth.php index 93e236f..39544cd 100644 --- a/utils/auth.php +++ b/utils/auth.php @@ -89,14 +89,14 @@ if (ACCESS_KEY != "") { // access_key 存在 $baned = 0; switch (BLOCK_TYPE) { case "blacklist": // 在线黑名单 - if ($is_blacklist) { + if ($is_blacklist == 1) { $is_baned = true; $baned = 21; $reason = $uid." 在黑名单"; } break; case "whitelist": // 在线白名单 - if (!$is_whitelist) { + if (!$is_whitelist == 1) { $is_baned = true; $baned = 22; $reason = $uid." 不在白名单";