mirror of
https://github.com/netchx/netch.git
synced 2026-03-28 18:59:46 +08:00
Cleanup code
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
using Microsoft.Win32;
|
||||
using System;
|
||||
using System;
|
||||
using Microsoft.Win32;
|
||||
|
||||
namespace Netch.Controllers
|
||||
{
|
||||
@@ -22,14 +22,12 @@ namespace Netch.Controllers
|
||||
{
|
||||
if (server.Type == "Socks5")
|
||||
{
|
||||
if (!String.IsNullOrWhiteSpace(server.Username) && !String.IsNullOrWhiteSpace(server.Password))
|
||||
if (!string.IsNullOrWhiteSpace(server.Username) && !string.IsNullOrWhiteSpace(server.Password))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
pPrivoxyController.Start(server, mode);
|
||||
}
|
||||
|
||||
pPrivoxyController.Start(server, mode);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user