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 = [ " _ _ _ _ ",