Define for generic usernames which prompt for name

Instead of hard-coding the "play", "player", etc. usernames
which will prompt the user for their name, allow defining
the names in config.h
This commit is contained in:
Pasi Kallinen
2015-03-09 18:42:53 +02:00
parent 0b231571bc
commit c92c8ab9d1
2 changed files with 11 additions and 3 deletions

View File

@@ -316,6 +316,11 @@
#endif /* CHDIR */
/* If GENERIC_USERNAMES is defined, and the user name is found
* in that list, prompt for username instead.
* A public server should probably disable this. */
#define GENERIC_USERNAMES "play player game games nethack nethacker"
/*
* Section 3: Definitions that may vary with system type.