diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-03-15 18:46:38 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-03-15 18:46:38 -0500 |
| commit | c6d5d8eb687d0256293e0b4406716713d3a6b148 (patch) | |
| tree | 0e6c6c0e0545cfacbc9a334bfba5e0443766f5c0 /src/slskd/Core | |
| parent | 4f511b1946953d2229f5ebb6fcb0ba47358d4db7 (diff) | |
| parent | 92c5d4c6b30075451a0a85e28981e794964c48d1 (diff) | |
| download | slskd-c6d5d8eb687d0256293e0b4406716713d3a6b148.tar.gz | |
Merge remote-tracking branch 'origin/master' into retries
Diffstat (limited to 'src/slskd/Core')
| -rw-r--r-- | src/slskd/Core/ConnectionWatchdog.cs | 4 | ||||
| -rw-r--r-- | src/slskd/Core/Options.cs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/slskd/Core/ConnectionWatchdog.cs b/src/slskd/Core/ConnectionWatchdog.cs index 1cf1779f..c802e489 100644 --- a/src/slskd/Core/ConnectionWatchdog.cs +++ b/src/slskd/Core/ConnectionWatchdog.cs @@ -115,7 +115,7 @@ namespace slskd /// <remarks>This should be called at application startup.</remarks> public virtual void Start() { - if (OptionsAtStartup.Integration.Vpn.Enabled) + if (OptionsAtStartup.Integrations.Vpn.Enabled) { VPN.StartPolling(); } @@ -250,7 +250,7 @@ namespace slskd return; } - if (OptionsAtStartup.Integration.Vpn.Enabled && !VPN.IsReady) + if (OptionsAtStartup.Integrations.Vpn.Enabled && !VPN.IsReady) { IsAwaitingVpn = true; return; diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs index 0d22cad3..271fe905 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -314,7 +314,7 @@ namespace slskd /// Gets options for external integrations. /// </summary> [Validate] - public IntegrationOptions Integration { get; init; } = new IntegrationOptions(); + public IntegrationsOptions Integrations { get; init; } = new IntegrationsOptions(); /// <summary> /// Handles top-level validation that doesn't fit anywhere else. @@ -2302,7 +2302,7 @@ namespace slskd /// <summary> /// Options for external integrations. /// </summary> - public class IntegrationOptions + public class IntegrationsOptions { /// <summary> /// Gets VPN options. |
