aboutsummaryrefslogtreecommitdiff
path: root/webAO
diff options
context:
space:
mode:
authorsD <stoned@derpymail.org>2019-12-22 16:44:38 +0100
committersD <stoned@derpymail.org>2019-12-22 16:44:38 +0100
commita8c1ab9682f543e81245c68ba93636025ad87c18 (patch)
treee7b6c02aefa7fa3c2fecec5ffbd0dd87c4a02fe7 /webAO
parent68852ffbb3a3c7d7d552cc45ab7b35424fe13ee8 (diff)
i broke the musiclist oh well
Diffstat (limited to 'webAO')
-rw-r--r--webAO/client.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/webAO/client.js b/webAO/client.js
index 294b64b..af480ea 100644
--- a/webAO/client.js
+++ b/webAO/client.js
@@ -187,7 +187,7 @@ class Client extends EventEmitter {
* @param {string} message the message to send
*/
sendOOC(message) {
- setCookie("OOC_name",escapeChat(encodeChat(document.getElementById("OOC_name").value)));
+ setCookie("OOC_name",document.getElementById("OOC_name").value);
this.serv.send(`CT#${escapeChat(encodeChat(document.getElementById("OOC_name").value))}#${escapeChat(encodeChat(message))}#%`);
}
@@ -1600,7 +1600,7 @@ export function mutelist_click(_event) {
// TODO: i don't feel like writing this rn
}
-window.musiclist_click = mutelist_click;
+window.mutelist_click = mutelist_click;
/**
* Triggered when the showname checkboc is clicked