Fixed one word names for new users
This commit is contained in:
parent
0e78ebf32b
commit
dd28dc8324
@ -53,6 +53,7 @@ v0.35.03 06-Jul-2002
|
|||||||
Check for existing Unix names now also includes the name ping
|
Check for existing Unix names now also includes the name ping
|
||||||
and services names.
|
and services names.
|
||||||
Check for handle now also checks Unix names.
|
Check for handle now also checks Unix names.
|
||||||
|
The setting for single usernames does work again.
|
||||||
|
|
||||||
mbsebbs:
|
mbsebbs:
|
||||||
Check existing usernames now also checks handles.
|
Check existing usernames now also checks handles.
|
||||||
|
@ -136,7 +136,7 @@ int newuser()
|
|||||||
* Check name, duplicate names, unwanted names, single names, they all get
|
* Check name, duplicate names, unwanted names, single names, they all get
|
||||||
* the same errormessage.
|
* the same errormessage.
|
||||||
*/
|
*/
|
||||||
badname = (BadNames(temp) || (CheckName(temp) || (strchr(temp, ' ') == NULL)));
|
badname = (BadNames(temp) || CheckName(temp) || ((strchr(temp, ' ') == NULL) && !CFG.iOneName));
|
||||||
if (badname) {
|
if (badname) {
|
||||||
/* That login name already exists, please choose another one. */
|
/* That login name already exists, please choose another one. */
|
||||||
language(LIGHTRED, BLACK, 386);
|
language(LIGHTRED, BLACK, 386);
|
||||||
|
Reference in New Issue
Block a user