Skip to content

Commit

Permalink
Fixes #1
Browse files Browse the repository at this point in the history
  • Loading branch information
DiFFoZ committed Dec 30, 2021
1 parent e42a721 commit 6340d28
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions EvolutionPlugins.OpenJoinLeaveMessages/ServiceConfigurator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ public class ServiceConfigurator : IServiceConfigurator
{
public void ConfigureServices(IOpenModServiceConfigurationContext openModStartupContext, IServiceCollection serviceCollection)
{
serviceCollection.Configure<BroadcastManagerOptions>(x =>
{
x.AddBroadcastProvider<DefaultBroadcastProvider>();
});
serviceCollection.TryAddSingleton<IBroadcastManager, BroadcastManager>();
}
}
Expand Down

0 comments on commit 6340d28

Please sign in to comment.