mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
profanity determent actually reads the configuration enable setting :P
removed unneeded semi colon in template fixed accidentally truncating last character of message in activity
This commit is contained in:
@ -23,6 +23,9 @@ namespace ProfanityDeterment
|
||||
|
||||
public async Task OnEventAsync(Event E, Server S)
|
||||
{
|
||||
if (!Settings.Configuration().EnableProfanityDeterment)
|
||||
return;
|
||||
|
||||
if (E.Type == Event.GType.Connect)
|
||||
{
|
||||
if (!ProfanityCounts.TryAdd(E.Origin.ClientId, new Tracking(E.Origin)))
|
||||
|
Reference in New Issue
Block a user