Update profanity-filter.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
fd60ff56bd
commit
cda35b1741
1 changed files with 2 additions and 2 deletions
|
@ -75,8 +75,8 @@ class ProfanityFilter {
|
||||||
// Initialize custom words array
|
// Initialize custom words array
|
||||||
this.customWords = [];
|
this.customWords = [];
|
||||||
|
|
||||||
// Build initial patterns with base words only
|
// Initialize patterns to null; will be built during async initialization
|
||||||
this.patterns = this.buildPatterns();
|
this.patterns = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue