From cddabfa91369b6378400a2ddd6fc4fe90c629384 Mon Sep 17 00:00:00 2001 From: yoimiya-kokomi <592981798@qq.com> Date: Sun, 2 Oct 2022 21:08:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4v2=20ck=E5=88=A4=E5=AE=9A?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/MysApi.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/MysApi.js b/models/MysApi.js index c36577fc..4fcbf9c3 100644 --- a/models/MysApi.js +++ b/models/MysApi.js @@ -24,9 +24,9 @@ export default class MysApi { let uid = mys.uid /* 检查user ck */ if (auth === 'cookie') { - if (!mys.isSelf) { + if (!mys.ckInfo.uid * 1 !== uid * 1) { e.reply('请绑定CK以使用此功能...') - return true + return false } } e._mys = new MysApi(e, uid, mys)