aboutsummaryrefslogtreecommitdiffstats
path: root/client/client.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--client/client.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/client.js b/client/client.js
index 60d9c24..cf6a2e8 100644
--- a/client/client.js
+++ b/client/client.js
@@ -7,7 +7,9 @@
*
*/
-const verifyNickname = (nick) => /^[a-zA-Z0-9_]{1,24}$/.test(nick);
+var verifyNickname = function (nick) {
+ return /^[a-zA-Z0-9_]{1,24}$/.test(nick);
+}
var frontpage = [
" _ _ _ _ ",