diff options
Diffstat (limited to 'src/slskd/Search/API/Controllers')
| -rw-r--r-- | src/slskd/Search/API/Controllers/SearchesController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Search/API/Controllers/SearchesController.cs b/src/slskd/Search/API/Controllers/SearchesController.cs index ae7f42db..507de5d6 100644 --- a/src/slskd/Search/API/Controllers/SearchesController.cs +++ b/src/slskd/Search/API/Controllers/SearchesController.cs @@ -50,7 +50,7 @@ namespace slskd.Search.API private ISearchService Searches { get; } private IOptionsSnapshot<Options> OptionsSnapshot { get; } - private bool IsAgent => OptionsSnapshot.Value.Relay.Mode.ToEnum<OperationMode>() == OperationMode.Agent; + private bool IsAgent => OptionsSnapshot.Value.Relay.Mode.ToEnum<RelayMode>() == RelayMode.Agent; /// <summary> /// Performs a search for the specified <paramref name="request"/>. |
