summary refs log tree commit diff
path: root/src/api/Server.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-17 18:45:42 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-17 18:45:42 +1100
commit77fa7ac886ac96ab02a014b64fb155250599a790 (patch)
tree27598093285dc1379d1822c0f279914372570b71 /src/api/Server.ts
parentRemove /api/-/monitorz (diff)
downloadserver-77fa7ac886ac96ab02a014b64fb155250599a790.tar.xz
Remove bad banned words implementation
Diffstat (limited to 'src/api/Server.ts')
-rw-r--r--src/api/Server.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/api/Server.ts b/src/api/Server.ts
index c7e53d70..b8d1f9f6 100644
--- a/src/api/Server.ts
+++ b/src/api/Server.ts
@@ -1,7 +1,7 @@
 import "missing-native-js-functions";
 import { Server, ServerOptions } from "lambert-server";
 import { Authentication, CORS } from "./middlewares/";
-import { BannedWords, Config, initDatabase, initEvent } from "@fosscord/util";
+import { Config, initDatabase, initEvent } from "@fosscord/util";
 import { ErrorHandler } from "./middlewares/ErrorHandler";
 import { BodyParser } from "./middlewares/BodyParser";
 import { Router, Request, Response, NextFunction } from "express";
@@ -38,7 +38,6 @@ export class FosscordServer extends Server {
 		await Config.init();
 		await initEvent();
 		await initInstance();
-		await BannedWords.init();
 
 		let logRequests = process.env["LOG_REQUESTS"] != undefined;
 		if (logRequests) {