aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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();
}