diff options
| author | stonedDiscord <Tukz@gmx.de> | 2024-12-12 23:07:35 +0100 |
|---|---|---|
| committer | stonedDiscord <Tukz@gmx.de> | 2024-12-12 23:07:58 +0100 |
| commit | 3bc921a08fc7b3306563e8a86a7efd4db1036995 (patch) | |
| tree | 03424c4432bb56e1f49fb4ae839109f1a6da1ab9 /webAO/packets/handlers/handleBD.ts | |
| parent | bd588174157e39342b05a882466233ddcd26aebc (diff) | |
get rid of sageTags in a few places
plan is to migrate to createTextNode
Diffstat (limited to 'webAO/packets/handlers/handleBD.ts')
| -rw-r--r-- | webAO/packets/handlers/handleBD.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/webAO/packets/handlers/handleBD.ts b/webAO/packets/handlers/handleBD.ts index befda6a..47c191d 100644 --- a/webAO/packets/handlers/handleBD.ts +++ b/webAO/packets/handlers/handleBD.ts @@ -1,5 +1,4 @@ import { setBanned } from "../../client"; -import { safeTags } from "../../encoding"; import { handleBans } from "../../client/handleBans"; /** @@ -8,6 +7,6 @@ import { handleBans } from "../../client/handleBans"; * @param {Array} args ban reason */ export const handleBD = (args: string[]) => { - handleBans("Banned", safeTags(args[1])); + handleBans("Banned", args[1]); setBanned(true); }; |
