From 4b9f6028a53c39ad7de3c9bca572fa699c9efadd Mon Sep 17 00:00:00 2001 From: YDL <1368269699@QQ.COM> Date: Fri, 23 Sep 2022 16:34:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9B=E5=85=A5=E6=88=BF=E9=97=B4,=E6=88=BF?= =?UTF-8?q?=E9=97=B4=E5=AF=86=E7=A0=81=E4=B8=BA=E7=A9=BA=E6=97=B6=E5=A4=84?= =?UTF-8?q?=E7=90=86=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AX.WebDrillServer/Hubs/FireDeductionHub.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AX.WebDrillServer/Hubs/FireDeductionHub.cs b/AX.WebDrillServer/Hubs/FireDeductionHub.cs index 7d9f287..1fe3687 100644 --- a/AX.WebDrillServer/Hubs/FireDeductionHub.cs +++ b/AX.WebDrillServer/Hubs/FireDeductionHub.cs @@ -130,7 +130,7 @@ namespace AX.WebDrillServer.Hubs { enterInfo.Password = room.Password; } - if (enterInfo.Password == room.Password) + if (string.IsNullOrEmpty(room.Password) || room.Password == enterInfo.Password) { //roomManager.AddUser(user); roomManager.AddUserToRoom(user, room.RoomId);