mirror of
https://github.com/netchx/netch.git
synced 2026-03-30 19:09:48 +08:00
Optimized code
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user