Optimized code

This commit is contained in:
AmazingDM
2021-01-05 17:11:11 +08:00
parent 8a551b715e
commit f7ad2baa52
2 changed files with 3 additions and 3 deletions

View File

@@ -39,7 +39,7 @@ namespace Netch.Controllers
if (mode.Type == 3)
{
if ((MainController.Server.Type == "Socks5" || MainController.Server.Type == "Trojan") && mode.BypassChina)
if ((MainController.Server.Type is "Socks5" or "Trojan") && mode.BypassChina)
{
//启动PAC服务器
PACServerHandle.InitPACServer("127.0.0.1");