连接:修复有军团的人没有推送

This commit is contained in:
luying
2022-03-11 18:43:21 +08:00
parent 1357104cee
commit cd11cb4719
4 changed files with 16 additions and 8 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ export async function pushData(hasInit: boolean, role: RoleType, session: Fronte
for(let { type, init, refresh, guild } of modules) {
if(!hasInit && !init) continue;
if(pushType == 'refresh' && !refresh) continue;
if(guildData.hasGuild && !guild) continue;
if(!guildData.hasGuild && !guild) continue;
let data = await getModuleData(type, { role, session }, guildData);
if (data) {