Nullify ChatManagerFactory

This commit is contained in:
Jordan Dominion
2023-12-17 14:41:18 -05:00
parent f775a0563b
commit 360490189f
@@ -7,8 +7,7 @@ using Microsoft.Extensions.Logging;
using Tgstation.Server.Host.Components.Chat.Commands;
using Tgstation.Server.Host.Components.Chat.Providers;
using Tgstation.Server.Host.Core;
#nullable disable
using Tgstation.Server.Host.Models;
namespace Tgstation.Server.Host.Components.Chat
{
@@ -56,6 +55,6 @@ namespace Tgstation.Server.Host.Components.Chat
serverControl,
loggerFactory,
loggerFactory.CreateLogger<ChatManager>(),
initialChatBots.Where(x => x.Enabled.Value));
initialChatBots.Where(x => x.Require(y => y.Enabled)));
}
}