1
This commit is contained in:
parent
70ab00072d
commit
a3c4ca6dbe
@ -242,18 +242,15 @@ void Guild::_CMGuildKick(f8::MsgHdr& hdr, const cs::CMGuildKick& msg)
|
|||||||
|
|
||||||
void Guild::_CMGuildQuit(f8::MsgHdr& hdr, const cs::CMGuildQuit& msg)
|
void Guild::_CMGuildQuit(f8::MsgHdr& hdr, const cs::CMGuildQuit& msg)
|
||||||
{
|
{
|
||||||
|
ss::SS_IM_ForwardGuildCMMsg *forward_msg = (ss::SS_IM_ForwardGuildCMMsg*)hdr.user_data;
|
||||||
|
|
||||||
cs::SMGuildQuit respmsg;
|
cs::SMGuildQuit respmsg;
|
||||||
#if 0
|
GuildMgr::Instance()->ForwardGuildSMMsg(hdr.socket_handle,
|
||||||
GuildMember* member = GetMember(context.user_info().base_data().account_id());
|
forward_msg->context(),
|
||||||
if (!member) {
|
respmsg);
|
||||||
return;
|
GuildMember* sender = GetMember(forward_msg->context().user_info().base_data().account_id());
|
||||||
|
if (sender) {
|
||||||
}
|
}
|
||||||
if (member->guild_job == kGuildOwner) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
RemoveMember(member->account_id);
|
|
||||||
GuildMgr::Instance()->ForwardGuildSMMsg(socket_handle, context, respmsg);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Guild::_CMGuildDismiss(f8::MsgHdr& hdr, const cs::CMGuildDismiss& msg)
|
void Guild::_CMGuildDismiss(f8::MsgHdr& hdr, const cs::CMGuildDismiss& msg)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user