Index: ps/trunk/binaries/data/mods/public/gui/lobby/prelobby.js =================================================================== --- ps/trunk/binaries/data/mods/public/gui/lobby/prelobby.js +++ ps/trunk/binaries/data/mods/public/gui/lobby/prelobby.js @@ -91,12 +91,11 @@ continueButton.enabled = false; feedback.caption = translate("Please enter your username"); } - // Prevent registation (but not login) with non-alphanumerical characters - if (!pageRegisterHidden && (!username.match(/^[a-z0-9._-]*$/i) || username.length > 20)) + else if (!pageRegisterHidden && (!username.match(/^[a-z0-9._-]*$/i) || username.length > 20)) { continueButton.enabled = false; - feedback.caption = translate("Usernames can't contain \\[, ], unicode, whitespace, or commas"); + feedback.caption = translate("Invalid username"); } // Check that they entered a password. else if (!password)