allow 2 character usernames

This commit is contained in:
Andrew Pamment 2018-02-14 20:49:26 +10:00
parent 8d881e4a7f
commit 7b7baa0c59

View File

@ -603,7 +603,7 @@ struct user_record *new_user() {
s_printf(get_string(166));
s_readstring(buffer, 16);
s_printf("\r\n");
if (strlen(buffer) < 3) {
if (strlen(buffer) < 2) {
s_printf(get_string(167));
continue;
}