1
This commit is contained in:
parent
3ebe574ed8
commit
d830a98ddf
@ -277,6 +277,13 @@ void Guild::_CMGuildDismiss(f8::MsgHdr& hdr, const cs::CMGuildDismiss& msg)
|
||||
GuildMgr::Instance()->ForwardGuildSMMsg(hdr.socket_handle,
|
||||
forward_msg->context(),
|
||||
respmsg);
|
||||
for (auto& pair : member_hash_) {
|
||||
RemoveMember(sender->account_id,
|
||||
pair.second->account_id,
|
||||
kGuildDismisss);
|
||||
}
|
||||
guild_status = kGuildDismissed;
|
||||
SaveToDB();
|
||||
}
|
||||
|
||||
void Guild::_CMGuildRename(f8::MsgHdr& hdr, const cs::CMGuildRename& msg)
|
||||
|
Loading…
x
Reference in New Issue
Block a user