From 22c7dcfb906c3289c74dda49df87795d0c666096 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Thu, 11 Feb 2021 20:23:29 -0600 Subject: force listening --- src/slskd/Startup.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/slskd/Startup.cs b/src/slskd/Startup.cs index e8e24ba6..cddd3da8 100644 --- a/src/slskd/Startup.cs +++ b/src/slskd/Startup.cs @@ -201,8 +201,8 @@ namespace slskd // create options for the client. see the implementation of Func<> and Action<> options for detailed info. var clientOptions = new SoulseekClientOptions( - listenPort: Options.Soulseek.ListenPort ?? defaults.ListenPort, - enableListener: Options.Soulseek.ListenPort.HasValue, + listenPort: Options.Soulseek.ListenPort, + enableListener: true, userEndPointCache: new UserEndPointCache(), distributedChildLimit: Options.Soulseek.DistributedNetwork.ChildLimit, enableDistributedNetwork: !Options.Soulseek.DistributedNetwork.Disabled, @@ -343,7 +343,7 @@ namespace slskd Task.Run(async () => { - await Client.ConnectAsync(Options.Soulseek.Username, Options.Soulseek.Password); + //await Client.ConnectAsync(Options.Soulseek.Username, Options.Soulseek.Password); }).GetAwaiter().GetResult(); logger.Information("Connected and logged in as {Username}", username); -- cgit v1.2.3