diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-11-21 15:10:07 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-21 15:10:07 -0600 |
| commit | 6798f34362f59be57040cbd03b6e09386ef3b7dd (patch) | |
| tree | 7acac646bec5a0d1ee0382a8c62a0d76576fe31f /src/slskd/Application.cs | |
| parent | ca7476025c3e63b3e2d78ecc601ef3001c3cff84 (diff) | |
| parent | 41f818ee64fb677bb9756b9ff78b38864e05f69a (diff) | |
| download | slskd-6798f34362f59be57040cbd03b6e09386ef3b7dd.tar.gz | |
Merge pull request #774 from slskd/relay
Add docs for Relay
Diffstat (limited to 'src/slskd/Application.cs')
| -rw-r--r-- | src/slskd/Application.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs index 0c7815e5..aeb18201 100644 --- a/src/slskd/Application.cs +++ b/src/slskd/Application.cs @@ -398,14 +398,14 @@ namespace slskd { Log.Warning($"Not connecting to the Soulseek server; username and/or password invalid. Specify valid credentials and manually connect, or update config and restart."); } - else if (OptionsAtStartup.Relay.Enabled && OptionsAtStartup.Relay.Mode.ToEnum<OperationMode>() == OperationMode.Agent) + else if (OptionsAtStartup.Relay.Enabled && OptionsAtStartup.Relay.Mode.ToEnum<RelayMode>() == RelayMode.Agent) { Log.Information("Running in Agent relay mode; not connecting to the Soulseek server."); await Relay.Client.StartAsync(cancellationToken); } else { - if (OptionsAtStartup.Relay.Enabled && OptionsAtStartup.Relay.Mode.ToEnum<OperationMode>() == OperationMode.Debug) + if (OptionsAtStartup.Relay.Enabled && OptionsAtStartup.Relay.Mode.ToEnum<RelayMode>() == RelayMode.Debug) { Log.Warning("Running in Debug relay mode; connecting to controller"); _ = Relay.Client.StartAsync(cancellationToken); |
