aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Core/API/Controllers/ServerController.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-11-21 15:10:07 -0600
committerGitHub <noreply@github.com>2022-11-21 15:10:07 -0600
commit6798f34362f59be57040cbd03b6e09386ef3b7dd (patch)
tree7acac646bec5a0d1ee0382a8c62a0d76576fe31f /src/slskd/Core/API/Controllers/ServerController.cs
parentca7476025c3e63b3e2d78ecc601ef3001c3cff84 (diff)
parent41f818ee64fb677bb9756b9ff78b38864e05f69a (diff)
downloadslskd-6798f34362f59be57040cbd03b6e09386ef3b7dd.tar.gz
Merge pull request #774 from slskd/relay
Add docs for Relay
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.