diff options
-rw-r--r-- | src/util/util/BannedWords.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/util/BannedWords.ts b/src/util/util/BannedWords.ts index 74a82efe..e56635d5 100644 --- a/src/util/util/BannedWords.ts +++ b/src/util/util/BannedWords.ts @@ -13,7 +13,7 @@ export const BannedWords = { words = []; return []; } - words = file.trim().split("\n"); + words = file.trim().split("\r").join("").split("\n"); return words; }, |