1
This commit is contained in:
parent
eb6775aeb9
commit
c8c5c6c7fa
@ -339,6 +339,20 @@ void Guild::_CMGuildAgree(f8::MsgHdr& hdr, const cs::CMGuildAgree& msg)
|
||||
|
||||
void Guild::_CMGuildRefuse(f8::MsgHdr& hdr, const cs::CMGuildRefuse& msg)
|
||||
{
|
||||
ss::SS_IM_ForwardGuildCMMsg *forward_msg = (ss::SS_IM_ForwardGuildCMMsg*)hdr.user_data;
|
||||
|
||||
cs::SMGuildRefuse respmsg;
|
||||
GuildMgr::Instance()->ForwardGuildSMMsg(hdr.socket_handle,
|
||||
forward_msg->context(),
|
||||
respmsg);
|
||||
|
||||
DBHelper::Instance()->SetGuildApplyStatus
|
||||
(
|
||||
msg.apply().base_data().account_id(),
|
||||
guild_id_,
|
||||
kGuildApplyReject
|
||||
);
|
||||
ClearApplyByIdx(msg.apply().idx());
|
||||
}
|
||||
|
||||
void Guild::_CMGuildKick(f8::MsgHdr& hdr, const cs::CMGuildKick& msg)
|
||||
|
Loading…
x
Reference in New Issue
Block a user