Skip to content

Commit

Permalink
fix profanity determent on chat enabled check
Browse files Browse the repository at this point in the history
  • Loading branch information
RaidMax committed Apr 8, 2023
1 parent 5571e93 commit b1f3155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugins/ProfanityDeterment/Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public Plugin(ProfanityDetermentConfiguration configuration)

private Task GameEventSubscriptionsOnClientMessaged(ClientMessageEvent clientEvent, CancellationToken token)
{
if (!_configuration?.EnableProfanityDeterment ?? false)
if (!(_configuration?.EnableProfanityDeterment ?? false))
{
return Task.CompletedTask;
}
Expand Down

0 comments on commit b1f3155

Please sign in to comment.