mirror of
https://github.com/Jerryplusy/crystelf-plugin.git
synced 2025-10-14 05:39:18 +00:00
fix:修复管理员逻辑错误
This commit is contained in:
parent
4c77b4da7c
commit
a72273d21a
@ -115,6 +115,7 @@ export class CarbonAuth extends plugin {
|
|||||||
if (e.isMaster) return true;
|
if (e.isMaster) return true;
|
||||||
const key = `${e.group_id}_${e.user_id}`;
|
const key = `${e.group_id}_${e.user_id}`;
|
||||||
if (this.pending.get(key)) return true;
|
if (this.pending.get(key)) return true;
|
||||||
|
logger.info(`[crystelf-plugin] 群[${e.group_id}]开始对用户[${e.user_id}]的加群验证`);
|
||||||
await this.auth(e, e.group_id, e.user_id);
|
await this.auth(e, e.group_id, e.user_id);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user