Add an error message

This commit is contained in:
Andrew Pamment 2018-01-06 16:51:09 +10:00
parent 64b16fb188
commit efd022efd8
2 changed files with 2 additions and 0 deletions

View File

@ -241,3 +241,4 @@ File exists!\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\nLastname may not begin or end with a space\r\n
\r\nFirst & Last Name combination in use!\r\n

View File

@ -683,6 +683,7 @@ struct user_record *new_user() {
if (!fullnameok) {
free(user->firstname);
free(user->lastname);
s_printf(get_string(243));
}
} while (!fullnameok);
s_printf(get_string(173));