diff --git a/v2rayN/ServiceLib/Handler/ConfigHandler.cs b/v2rayN/ServiceLib/Handler/ConfigHandler.cs index 8450cba8..0b655427 100644 --- a/v2rayN/ServiceLib/Handler/ConfigHandler.cs +++ b/v2rayN/ServiceLib/Handler/ConfigHandler.cs @@ -963,7 +963,7 @@ public class ConfigHandler { return -1; } - if (profileItem.Security.IsNotEmpty() && profileItem.Security != Global.None) + if (profileItem.Security.IsNullOrEmpty()) { profileItem.Security = Global.None; }