1
This commit is contained in:
parent
f3c59b8a94
commit
c349359692
@ -178,8 +178,7 @@ void Guild::_CMGuildAgree(f8::MsgHdr& hdr, const cs::CMGuildAgree& msg)
|
||||
GuildMgr::Instance()->ForwardGuildSMMsg(hdr.socket_handle,
|
||||
forward_msg->context(),
|
||||
respmsg);
|
||||
if (respmsg.errcode() == 0 &&
|
||||
!GetMember(forward_msg->context().user_info().base_data().account_id())) {
|
||||
|
||||
GuildMember* member = new GuildMember();
|
||||
TypeConvert::Convert(forward_msg->context().user_info().base_data(), *member);
|
||||
AddMember(member);
|
||||
@ -192,7 +191,6 @@ void Guild::_CMGuildAgree(f8::MsgHdr& hdr, const cs::CMGuildAgree& msg)
|
||||
);
|
||||
ClearApplyBySenderId(msg.apply().base_data().account_id());
|
||||
}
|
||||
}
|
||||
|
||||
void Guild::_CMGuildKick(f8::MsgHdr& hdr, const cs::CMGuildKick& msg)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user