summary refs log tree commit diff
path: root/src/routes/guilds
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-06-27 23:14:13 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-06-27 23:14:13 +0200
commitea676ddd0351bdf5949c19aeead2fdaeb668dcbf (patch)
tree621eed227e07720a73e6b08493693885593e19f2 /src/routes/guilds
parent:bug: fix empty message bug for attachments (diff)
downloadserver-ts-ea676ddd0351bdf5949c19aeead2fdaeb668dcbf.tar.xz
:lock: register proxy ip check
Diffstat (limited to 'src/routes/guilds')
-rw-r--r--src/routes/guilds/#guild_id/bans.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/guilds/#guild_id/bans.ts b/src/routes/guilds/#guild_id/bans.ts

index 87d2e7f8..cf6a059b 100644 --- a/src/routes/guilds/#guild_id/bans.ts +++ b/src/routes/guilds/#guild_id/bans.ts
@@ -1,7 +1,7 @@ import { Request, Response, Router } from "express"; import { BanModel, getPermission, GuildBanAddEvent, GuildBanRemoveEvent, GuildModel, toObject } from "@fosscord/server-util"; import { HTTPError } from "lambert-server"; -import { getIpAdress } from "../../../middlewares/GlobalRateLimit"; +import { getIpAdress } from "../../../util/ipAddress"; import { BanCreateSchema } from "../../../schema/Ban"; import { emitEvent } from "../../../util/Event"; import { check } from "../../../util/instanceOf";