From ab15c236a7faddc851d082f5c76c52720a9a3dda Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Mon, 21 Nov 2022 15:03:53 -0600 Subject: rename OperationMode to RelayMode --- src/slskd/Core/API/Controllers/ServerController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/slskd/Core/API/Controllers/ServerController.cs') 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 OptionsSnapshot { get; } private IStateSnapshot StateSnapshot { get; } - private bool IsAgent => OptionsSnapshot.Value.Relay.Mode.ToEnum() == OperationMode.Agent; + private bool IsAgent => OptionsSnapshot.Value.Relay.Mode.ToEnum() == RelayMode.Agent; /// /// Connects the client. -- cgit v1.2.3