Allow Spaces in usernames
This commit is contained in:
parent
6ea840e58c
commit
e9b84728f8
2
users.c
2
users.c
@ -431,7 +431,7 @@ struct user_record *new_user() {
|
||||
}
|
||||
|
||||
for (i=0;i<strlen(buffer);i++) {
|
||||
if (!(tolower(buffer[i]) >= 97 && tolower(buffer[i]) <= 122)) {
|
||||
if (!(tolower(buffer[i]) >= 97 && tolower(buffer[i]) <= 122) && buffer[i] != 32) {
|
||||
s_printf(get_string(168));
|
||||
nameok = 1;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user