mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-09 21:24:34 +00:00
Fix attempts to start broken bots
This commit is contained in:
@@ -1140,6 +1140,10 @@ namespace ArchiSteamFarm {
|
||||
}
|
||||
|
||||
private async Task InitStart() {
|
||||
if ((BotConfig == null) || (BotDatabase == null)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!BotConfig.Enabled) {
|
||||
ArchiLogger.LogGenericInfo(Strings.BotInstanceNotStartingBecauseDisabled);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user