This commit is contained in:
aozhiwei 2020-10-14 14:24:16 +08:00
parent fcd884df1e
commit 6fa236cbda

View File

@ -243,7 +243,7 @@ void Guild::Deserialize(const std::string& guild_data,
if (job == kGuildOwner) { if (job == kGuildOwner) {
continue; continue;
} }
if (job == kGuildAdmin && GetJobMemberNum(job) > 0) { if (job == kGuildAdmin && GetJobMemberNum(job) >= GUILD_MAX_ADMIN_NUM) {
continue; continue;
} }
member_job_hash_[account_id] = job; member_job_hash_[account_id] = job;