fix profanity determent on chat enabled check
This commit is contained in:
parent
d8c0cd47f5
commit
f4ded4cc1f
@ -48,7 +48,7 @@ public class Plugin : IPluginV2
|
|||||||
|
|
||||||
private Task GameEventSubscriptionsOnClientMessaged(ClientMessageEvent clientEvent, CancellationToken token)
|
private Task GameEventSubscriptionsOnClientMessaged(ClientMessageEvent clientEvent, CancellationToken token)
|
||||||
{
|
{
|
||||||
if (!_configuration?.EnableProfanityDeterment ?? false)
|
if (!(_configuration?.EnableProfanityDeterment ?? false))
|
||||||
{
|
{
|
||||||
return Task.CompletedTask;
|
return Task.CompletedTask;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user