mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-23 21:16:52 +01:00
Nullify ChatManagerFactory
This commit is contained in:
@@ -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)));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user