aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Controllers/ServerController.cs
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-01-31 11:15:35 -0600
committerGitHub <noreply@github.com>2021-01-31 11:15:35 -0600
commit36ecf12404338bacf1fdd90334c252f89c897b3e (patch)
tree59772d1c8276bf363c33cd2875f395c9dba1ac5c /src/slskd/Controllers/ServerController.cs
parentcec869b9456cf6fe5597847948b2d75b9846755a (diff)
parentc9cd2a67ea65570cbd8bd72f09ff5383b1a5c2fe (diff)
downloadslskd-36ecf12404338bacf1fdd90334c252f89c897b3e.tar.gz
Merge pull request #24 from slskd/config
Add app configuration
Diffstat (limited to 'src/slskd/Controllers/ServerController.cs')
-rw-r--r--src/slskd/Controllers/ServerController.cs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/slskd/Controllers/ServerController.cs b/src/slskd/Controllers/ServerController.cs
index 2502a05d..ed6e84c8 100644
--- a/src/slskd/Controllers/ServerController.cs
+++ b/src/slskd/Controllers/ServerController.cs
@@ -56,12 +56,6 @@
return Ok();
}
- if (addr && port && !un && !pw)
- {
- await Client.ConnectAsync(req.Address, req.Port.Value);
- return Ok();
- }
-
if (!addr && !port && un && pw)
{
await Client.ConnectAsync(req.Username, req.Password);