We don't need that to be there anymore

This commit is contained in:
MDMCK10
2023-05-06 16:50:25 +02:00
committed by GitHub
parent 3f753c60da
commit c66bd6d2ee

View File

@@ -539,7 +539,7 @@ export default class WSServer {
status = "1";
}
} else
if (!/^[a-zA-Z0-9\ \-\_\.]+$/.test(newName) || newName.length > 20 || newName.trim().length < 3) {
if (!/^[a-zA-Z0-9\ \-\_\.]+$/.test(newName) || newName.length > 20 || newName.length < 3) {
client.assignGuestName(this.getUsernameList());
status = "2";
} else