aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Controllers/ServerController.cs
diff options
context:
space:
mode:
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);