From cda35b1741bf22d15b0494d732cd101d200c23a1 Mon Sep 17 00:00:00 2001 From: Deco Vander Date: Fri, 4 Jul 2025 14:17:49 -0400 Subject: [PATCH] Update profanity-filter.js Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- profanity-filter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profanity-filter.js b/profanity-filter.js index 7caf349..eaaa604 100644 --- a/profanity-filter.js +++ b/profanity-filter.js @@ -75,8 +75,8 @@ class ProfanityFilter { // Initialize custom words array this.customWords = []; - // Build initial patterns with base words only - this.patterns = this.buildPatterns(); + // Initialize patterns to null; will be built during async initialization + this.patterns = null; } /**