Skip to content

Commit

Permalink
Fix remaining crash
Browse files Browse the repository at this point in the history
  • Loading branch information
JustArchi committed Mar 11, 2016
1 parent 601a486 commit eb4e9ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ArchiSteamFarm/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit eb4e9ee

Please sign in to comment.