mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-22 06:58:24 +00:00
调整v2 ck判定逻辑
This commit is contained in:
parent
f16f16dc9c
commit
cddabfa913
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user