mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-08 22:28:15 -05:00
fix profanity determent on chat enabled check
This commit is contained in:
parent
5571e9317f
commit
b1f3155131
@ -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…
x
Reference in New Issue
Block a user