Add an error message
This commit is contained in:
parent
64b16fb188
commit
efd022efd8
@ -241,3 +241,4 @@ File exists!\r\n
|
|||||||
\r\nUsername may not begin or end with a space\r\n
|
\r\nUsername may not begin or end with a space\r\n
|
||||||
\r\nFirstname may not begin or end with a space\r\n
|
\r\nFirstname may not begin or end with a space\r\n
|
||||||
\r\nLastname may not begin or end with a space\r\n
|
\r\nLastname may not begin or end with a space\r\n
|
||||||
|
\r\nFirst & Last Name combination in use!\r\n
|
||||||
|
@ -683,6 +683,7 @@ struct user_record *new_user() {
|
|||||||
if (!fullnameok) {
|
if (!fullnameok) {
|
||||||
free(user->firstname);
|
free(user->firstname);
|
||||||
free(user->lastname);
|
free(user->lastname);
|
||||||
|
s_printf(get_string(243));
|
||||||
}
|
}
|
||||||
} while (!fullnameok);
|
} while (!fullnameok);
|
||||||
s_printf(get_string(173));
|
s_printf(get_string(173));
|
||||||
|
Reference in New Issue
Block a user