summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/util/util/BannedWords.ts2
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;
 	},