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; },