This commit is contained in:
aozhiwei 2024-06-01 17:56:50 +08:00
parent 3e424d81aa
commit 7c3edc1074

View File

@ -75,6 +75,13 @@ void RoomMgr::_CMJoin(f8::MsgHdr* hdr, const cs::CMJoin& msg)
{
#ifdef MYDEBUG
a8::XPrintf("CMJoin socket_handle:%d\n", {hdr->socket_handle});
#endif
#if 1
f8::UdpLog::Instance()->Warning("CMJoin account_id:%s socket_handle:%d",
{
msg.account_id(),
hdr->socket_handle,
});
#endif
if (IsLimitJoin()) {
JoinErrorHandle(msg, 2, hdr->socket_handle);
@ -84,7 +91,7 @@ void RoomMgr::_CMJoin(f8::MsgHdr* hdr, const cs::CMJoin& msg)
auto member = GetCustomMemberBySocket(hdr->socket_handle);
if (member) {
#if 1
f8::UdpLog::Instance()->Warning("JoinError socket_not_exits socket_handle:%d",
f8::UdpLog::Instance()->Warning("JoinError socket already exits socket_handle:%d",
{
hdr->socket_handle,
});