_flag_disable_authorization

This commit is contained in:
psyc://psyced.org/~lynX 2011-07-26 14:30:41 +02:00
parent 25734947cb
commit 2423c3adc5
2 changed files with 3 additions and 4 deletions

View File

@ -135,7 +135,7 @@
#endif #endif
#ifdef MUD #ifdef MUD
# define NO_NEWBIES # define _flag_disable_authorization
#endif #endif
#ifdef REGISTERED_USERS_ONLY #ifdef REGISTERED_USERS_ONLY
@ -144,8 +144,7 @@
#endif #endif
#ifdef RELAY #ifdef RELAY
# define NO_NEWBIES // same as _flag_disable_unauthenticated_users ? # define _flag_disable_authorization
// anyway, chance for some ifdef optimizations TODO
# define IRCGATE_NICK "PSYC.EU" # define IRCGATE_NICK "PSYC.EU"
# undef DEFAULT_USER_OBJECT # undef DEFAULT_USER_OBJECT
# define DEFAULT_USER_OBJECT IRC_PATH "ghost" # define DEFAULT_USER_OBJECT IRC_PATH "ghost"

View File

@ -39,7 +39,7 @@
# define ONLINE (ME && (interactive(ME) || (member(v("locations"), 0) && sizeof(v("locations")[0])))) # define ONLINE (ME && (interactive(ME) || (member(v("locations"), 0) && sizeof(v("locations")[0]))))
#endif #endif
#ifdef NO_NEWBIES #ifdef _flag_disable_authorization
# define IS_NEWBIE 0 # define IS_NEWBIE 0
#else #else
# define IS_NEWBIE (!v("password")) # define IS_NEWBIE (!v("password"))