aboutsummaryrefslogtreecommitdiff
path: root/webAO/packets/handlers/handleEI.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/packets/handlers/handleEI.ts')
-rw-r--r--webAO/packets/handlers/handleEI.ts4
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())}`,
};