aboutsummaryrefslogtreecommitdiff
path: root/client.js
diff options
context:
space:
mode:
Diffstat (limited to 'client.js')
-rw-r--r--client.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/client.js b/client.js
index d1aadb7..933b64e 100644
--- a/client.js
+++ b/client.js
@@ -105,11 +105,12 @@ function parseINI(data) {
return value;
}
-function escapeChat(string) {
-string.replace("#","<pound>");
-string.replace("&","<and>");
-string.replace("%","<percent>");
-string.replace("$","<dollar>");
+function escapeChat(estring) {
+estring.replace("#","<pound>");
+estring.replace("&","<and>");
+estring.replace("%","<percent>");
+estring.replace("$","<dollar>");
+return estring;
}
function onOOCEnter(event) {