1
This commit is contained in:
parent
08cb408b7a
commit
15891a8c23
@ -76,6 +76,13 @@ void RoomMgr::_CMJoin(f8::MsgHdr* hdr, const cs::CMJoin& msg)
|
||||
JoinErrorHandle(msg, 2, hdr->socket_handle);
|
||||
return;
|
||||
}
|
||||
{
|
||||
auto member = GetCustomMemberBySocket(hdr->socket_handle);
|
||||
if (member) {
|
||||
JoinErrorHandle(msg, 100, hdr->socket_handle);
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
cs::CMJoin* mutable_msg = (cs::CMJoin*)&msg;
|
||||
AdjustCMJoin(mutable_msg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user