aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-02-07 19:00:24 -0600
committerJP Dillingham <jp@dillingham.me>2026-02-07 19:00:24 -0600
commit55376314db7972da453bbded6037f1e1db169a1f (patch)
tree89c762e04d80d42bac71397cd9f6fa1774c42394 /src
parent102046851d3233c791b069cbe75ddbfbafe675cc (diff)
downloadslskd-55376314db7972da453bbded6037f1e1db169a1f.tar.gz
oops
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Core/ConnectionWatchdog.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Core/ConnectionWatchdog.cs b/src/slskd/Core/ConnectionWatchdog.cs
index 2dd2f791..7e0710a6 100644
--- a/src/slskd/Core/ConnectionWatchdog.cs
+++ b/src/slskd/Core/ConnectionWatchdog.cs
@@ -154,7 +154,7 @@ namespace slskd
{
// if the VPN is required, we have to keep polling in the background so we can disconnect if it drops
// this is a belt-and-suspenders effort to ensure maximum protection in case someone doesn't have a kill switch
- if (OptionsAtStartup.Integration.Vpn.Required)
+ if (!OptionsAtStartup.Integration.Vpn.Required)
{
VPN.StopPolling();
}