1
This commit is contained in:
parent
0483f29b94
commit
827c00f01d
@ -125,7 +125,7 @@ void Guild::_CMGuildJoin(f8::MsgHdr& hdr, const cs::CMGuildJoin& msg)
|
||||
GuildMgr::Instance()->ForwardGuildSMMsg(hdr.socket_handle,
|
||||
forward_msg->context(),
|
||||
respmsg);
|
||||
if (GetMember(forward_msg->context().user_info().base_data().account_id())) {
|
||||
if (!GetMember(forward_msg->context().user_info().base_data().account_id())) {
|
||||
DBHelper::Instance()->AddGuildApply(this, forward_msg->context().user_info());
|
||||
}
|
||||
}
|
||||
@ -138,6 +138,8 @@ void Guild::_CMGuildAgree(f8::MsgHdr& hdr, const cs::CMGuildAgree& msg)
|
||||
GuildMgr::Instance()->ForwardGuildSMMsg(hdr.socket_handle,
|
||||
forward_msg->context(),
|
||||
respmsg);
|
||||
if (!GetMember(forward_msg->context().user_info().base_data().account_id())) {
|
||||
}
|
||||
}
|
||||
|
||||
void Guild::_CMGuildKick(f8::MsgHdr& hdr, const cs::CMGuildKick& msg)
|
||||
|
Loading…
x
Reference in New Issue
Block a user