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/handleEI.ts | |
| parent | bd588174157e39342b05a882466233ddcd26aebc (diff) | |
get rid of sageTags in a few places
plan is to migrate to createTextNode
Diffstat (limited to 'webAO/packets/handlers/handleEI.ts')
| -rw-r--r-- | webAO/packets/handlers/handleEI.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webAO/packets/handlers/handleEI.ts b/webAO/packets/handlers/handleEI.ts index d134466..3d15766 100644 --- a/webAO/packets/handlers/handleEI.ts +++ b/webAO/packets/handlers/handleEI.ts @@ -1,6 +1,6 @@ import { client } from "../../client"; import { AO_HOST } from "../../client/aoHost"; -import { prepChat, safeTags } from "../../encoding"; +import { prepChat } from "../../encoding"; /** * Handles incoming evidence information, containing only one evidence @@ -18,7 +18,7 @@ export const handleEI = (args: string[]) => { client.evidences[evidenceID] = { name: prepChat(arg[0]), desc: prepChat(arg[1]), - filename: safeTags(arg[3]), + filename: arg[3], icon: `${AO_HOST}evidence/${encodeURI(arg[3].toLowerCase())}`, }; |
