diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Application/Service.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/slskd/Application/Service.cs b/src/slskd/Application/Service.cs index e2f63750..7c3b9756 100644 --- a/src/slskd/Application/Service.cs +++ b/src/slskd/Application/Service.cs @@ -408,7 +408,9 @@ namespace slskd try { - await Client.ConnectAsync(Options.Soulseek.Username, Options.Soulseek.Password); + // reconnect with the latest configuration values we have for username and password, instead of the options that were + // captured at startup. if a user has updated these values prior to the disconnect, the changes will take effect now. + await Client.ConnectAsync(OptionsMonitor.CurrentValue.Soulseek.Username, OptionsMonitor.CurrentValue.Soulseek.Password); break; } catch (Exception ex) |
