Minor log line

This commit is contained in:
Jordan Brown
2020-05-18 10:58:50 -04:00
parent c075027150
commit a37dae4fc3
@@ -29,13 +29,17 @@ namespace Tgstation.Server.Host.Components.Chat
public IEnumerable<CustomCommand> CustomCommands
{
get => customCommands;
set => customCommands = (value ?? throw new InvalidOperationException("value cannot be null!"))
set
{
customCommands = (value ?? throw new InvalidOperationException("value cannot be null!"))
.Select(customCommand =>
{
customCommand.SetHandler(customCommandHandler);
return customCommand;
})
.ToList();
logger.LogTrace("Custom commands set.");
}
}
/// <summary>