mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Do not emit shutdown event when changing the config
This commit is contained in:
@@ -1406,7 +1406,9 @@ public sealed class Bot : IAsyncDisposable {
|
||||
return;
|
||||
}
|
||||
|
||||
Stop(botConfig.Enabled);
|
||||
// Skip shutdown event as we're actually reinitializing the bot, not fully stopping it
|
||||
Stop(true);
|
||||
|
||||
BotConfig = botConfig;
|
||||
|
||||
await InitModules().ConfigureAwait(false);
|
||||
|
||||
Reference in New Issue
Block a user