From 76b30c8553370bc41b6d190b84d6d48526d50e49 Mon Sep 17 00:00:00 2001 From: marzavec Date: Fri, 16 Oct 2020 23:36:28 -0500 Subject: [PATCH] Update join.js --- server/src/commands/core/join.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/src/commands/core/join.js b/server/src/commands/core/join.js index d832104..60250d0 100644 --- a/server/src/commands/core/join.js +++ b/server/src/commands/core/join.js @@ -65,8 +65,7 @@ export async function run({ // end todo // validates the user input for `nick` - const validName = verifyNickname(nick, socket); - if (validName !== true) { + if (verifyNickname(nick, socket) !== true) { return server.reply({ cmd: 'warn', text: 'Nickname must consist of up to 24 letters, numbers, and underscores',