Fixed one word names for new users

This commit is contained in:
Michiel Broek
2002-08-13 19:40:58 +00:00
parent 0e78ebf32b
commit dd28dc8324
2 changed files with 2 additions and 1 deletions

View File

@@ -136,7 +136,7 @@ int newuser()
* Check name, duplicate names, unwanted names, single names, they all get
* the same errormessage.
*/
badname = (BadNames(temp) || (CheckName(temp) || (strchr(temp, ' ') == NULL)));
badname = (BadNames(temp) || CheckName(temp) || ((strchr(temp, ' ') == NULL) && !CFG.iOneName));
if (badname) {
/* That login name already exists, please choose another one. */
language(LIGHTRED, BLACK, 386);