From 8e64e45c7cffc64de7ab601221ef62e44cc7237f Mon Sep 17 00:00:00 2001 From: zhiyu1998 <542716863@qq.com> Date: Tue, 13 Aug 2024 17:03:10 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E9=89=B4=E6=9D=83=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/tools.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/tools.js b/apps/tools.js index 2260dcf..71f82e2 100644 --- a/apps/tools.js +++ b/apps/tools.js @@ -2090,7 +2090,7 @@ export class tools extends plugin { return false; } const whiteList = await redisGetKey(REDOS_YUNZAI_WHITELIST); - return whiteList.includes(userId); + return whiteList.includes(userId) || whiteList.includes(userId.toString()); } /**