好友进房问题

This commit is contained in:
sk 2024-09-09 10:40:26 +08:00
parent eb791c364e
commit d27a04020e
1 changed files with 1 additions and 1 deletions

View File

@ -461,7 +461,7 @@ func (this *CSInviteFriendOpHandler) Process(s *netlib.Session, packetid int, da
return nil
}
//私有房间
if scene.sceneMode != common.SceneModePrivate {
if !scene.IsPrivateScene() && !scene.IsCustom() {
logger.Logger.Warn("CSInviteFriendHandler scene is common.SceneMode_Private")
opRetCode = friend.OpResultCode_OPRC_InviteFriend_RoomLimit //只能进入私有房间
send(p)