From f4ded4cc1f7facc376f5688fb6ea8f6cc53dd60a Mon Sep 17 00:00:00 2001 From: RaidMax Date: Sat, 8 Apr 2023 16:11:22 -0500 Subject: [PATCH] fix profanity determent on chat enabled check --- Plugins/ProfanityDeterment/Plugin.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/ProfanityDeterment/Plugin.cs b/Plugins/ProfanityDeterment/Plugin.cs index 8df03c597..9745e016d 100644 --- a/Plugins/ProfanityDeterment/Plugin.cs +++ b/Plugins/ProfanityDeterment/Plugin.cs @@ -48,7 +48,7 @@ public class Plugin : IPluginV2 private Task GameEventSubscriptionsOnClientMessaged(ClientMessageEvent clientEvent, CancellationToken token) { - if (!_configuration?.EnableProfanityDeterment ?? false) + if (!(_configuration?.EnableProfanityDeterment ?? false)) { return Task.CompletedTask; }