调整v2 ck判定逻辑

This commit is contained in:
yoimiya-kokomi 2022-10-02 21:08:41 +08:00
parent f16f16dc9c
commit cddabfa913

View File

@ -24,9 +24,9 @@ export default class MysApi {
let uid = mys.uid let uid = mys.uid
/* 检查user ck */ /* 检查user ck */
if (auth === 'cookie') { if (auth === 'cookie') {
if (!mys.isSelf) { if (!mys.ckInfo.uid * 1 !== uid * 1) {
e.reply('请绑定CK以使用此功能...') e.reply('请绑定CK以使用此功能...')
return true return false
} }
} }
e._mys = new MysApi(e, uid, mys) e._mys = new MysApi(e, uid, mys)