修复黑名单失效时的反应

pull/43/head
david082321 1 year ago committed by GitHub
parent d9c291bee3
commit c96b2a4fea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -89,14 +89,14 @@ if (ACCESS_KEY != "") { // access_key 存在
$baned = 0; $baned = 0;
switch (BLOCK_TYPE) { switch (BLOCK_TYPE) {
case "blacklist": // 在线黑名单 case "blacklist": // 在线黑名单
if ($is_blacklist) { if ($is_blacklist == 1) {
$is_baned = true; $is_baned = true;
$baned = 21; $baned = 21;
$reason = $uid." 在黑名单"; $reason = $uid." 在黑名单";
} }
break; break;
case "whitelist": // 在线白名单 case "whitelist": // 在线白名单
if (!$is_whitelist) { if (!$is_whitelist == 1) {
$is_baned = true; $is_baned = true;
$baned = 22; $baned = 22;
$reason = $uid." 不在白名单"; $reason = $uid." 不在白名单";

Loading…
Cancel
Save