This commit is contained in:
aozhiwei 2022-08-19 14:47:21 +08:00
parent dcc09da21a
commit 94ab21ecdc

View File

@ -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;