aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Core/API/Controllers/ServerController.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/slskd/Core/API/Controllers/ServerController.cs')
-rw-r--r--src/slskd/Core/API/Controllers/ServerController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Core/API/Controllers/ServerController.cs b/src/slskd/Core/API/Controllers/ServerController.cs
index b1e36b1a..d9823a23 100644
--- a/src/slskd/Core/API/Controllers/ServerController.cs
+++ b/src/slskd/Core/API/Controllers/ServerController.cs
@@ -48,7 +48,7 @@ namespace slskd.Core.API
private ISoulseekClient Client { get; }
private IOptionsSnapshot<Options> OptionsSnapshot { get; }
private IStateSnapshot<State> StateSnapshot { get; }
- private bool IsAgent => OptionsSnapshot.Value.Relay.Mode.ToEnum<OperationMode>() == OperationMode.Agent;
+ private bool IsAgent => OptionsSnapshot.Value.Relay.Mode.ToEnum<RelayMode>() == RelayMode.Agent;
/// <summary>
/// Connects the client.