This commit is contained in:
aozhiwei 2021-07-30 08:16:27 +00:00
parent 41ad318626
commit 7ccd02df82

View File

@ -125,10 +125,13 @@ void RoomMgr::Update(int delta_time)
void RoomMgr::_CMJoin(f8::MsgHdr& hdr, const cs::CMJoin& msg)
{
#ifdef DEBUG
#else
if (msg.proto_version() < 2021073001) {
JoinErrorHandle(msg, 6, hdr.socket_handle);
return;
}
#endif
if (IsLimitJoin()) {
JoinErrorHandle(msg, 2, hdr.socket_handle);
return;