Fix warning

This commit is contained in:
JustArchi
2020-09-25 13:21:36 +02:00
parent 70915ecaed
commit e0ba7f2a92

View File

@@ -76,7 +76,7 @@ namespace ArchiSteamFarm.NLog {
string? botName = BotName?.Render(logEvent);
if (!string.IsNullOrEmpty(botName)) {
bot = Bot.GetBot(botName);
bot = Bot.GetBot(botName!);
if (bot?.IsConnectedAndLoggedOn != true) {
return;