Skip to content

Commit

Permalink
escape evidence image
Browse files Browse the repository at this point in the history
  • Loading branch information
stonedDiscord committed May 14, 2022
1 parent f63915f commit 611fa88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webAO/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ class Client extends EventEmitter {
* @param {string} evidence image filename
*/
sendPE(name: string, desc: string, img: string) {
this.sendServer(`PE#${escapeChat(name)}#${escapeChat(desc)}#${img}#%`);
this.sendServer(`PE#${escapeChat(name)}#${escapeChat(desc)}#${escapeChat(img)}#%`);
}

/**
Expand All @@ -438,7 +438,7 @@ class Client extends EventEmitter {
* @param {string} evidence image filename
*/
sendEE(id: number, name: string, desc: string, img: string) {
this.sendServer(`EE#${id}#${escapeChat(name)}#${escapeChat(desc)}#${img}#%`);
this.sendServer(`EE#${id}#${escapeChat(name)}#${escapeChat(desc)}#${escapeChat(img)}#%`);
}

/**
Expand Down

0 comments on commit 611fa88

Please sign in to comment.