1
This commit is contained in:
parent
dcc09da21a
commit
94ab21ecdc
@ -125,13 +125,10 @@ void RoomMgr::Update(int delta_time)
|
|||||||
|
|
||||||
void RoomMgr::_CMJoin(f8::MsgHdr& hdr, const cs::CMJoin& msg)
|
void RoomMgr::_CMJoin(f8::MsgHdr& hdr, const cs::CMJoin& msg)
|
||||||
{
|
{
|
||||||
#ifdef DEBUG
|
|
||||||
#else
|
|
||||||
if (msg.proto_version() < 2021073001) {
|
if (msg.proto_version() < 2021073001) {
|
||||||
JoinErrorHandle(msg, 6, hdr.socket_handle);
|
JoinErrorHandle(msg, 6, hdr.socket_handle);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
if (IsLimitJoin()) {
|
if (IsLimitJoin()) {
|
||||||
JoinErrorHandle(msg, 2, hdr.socket_handle);
|
JoinErrorHandle(msg, 2, hdr.socket_handle);
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user