refactor: Add in keyword as need

This commit is contained in:
ChsBuffer
2020-10-17 17:18:40 +08:00
parent b54bc6fa40
commit f8299fb7be
23 changed files with 25 additions and 25 deletions

View File

@@ -120,7 +120,7 @@ namespace Netch.Controllers
PortCheckAndShowMessageBox(controller.Socks5LocalPort(), "Socks5");
Global.MainForm.StatusText(i18N.TranslateFormat("Starting {0}", controller.Name));
if (controller.Start(server, mode))
if (controller.Start(in server, mode))
{
UsingPorts.Add(StatusPortInfoText.Socks5Port = controller.Socks5LocalPort());
StatusPortInfoText.ShareLan = controller.LocalAddress == "0.0.0.0";