From eb4e9ee07725a675cf87e7a4fb6de8d67c8908f0 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Fri, 11 Mar 2016 21:40:25 +0100 Subject: [PATCH] Fix remaining crash --- ArchiSteamFarm/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArchiSteamFarm/Program.cs b/ArchiSteamFarm/Program.cs index f7caf36b188d0..06c89f3822761 100644 --- a/ArchiSteamFarm/Program.cs +++ b/ArchiSteamFarm/Program.cs @@ -454,7 +454,7 @@ private static void Main(string[] args) { } Bot bot = new Bot(botName); - if (!bot.BotConfig.Enabled) { + if (bot.BotConfig == null || !bot.BotConfig.Enabled) { Logging.LogGenericInfo("Not starting this instance because it's disabled in config file", botName); } }