_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
#ifdef MUD
# define NO_NEWBIES
# define _flag_disable_authorization
#endif
#ifdef REGISTERED_USERS_ONLY
@ -144,8 +144,7 @@
#endif
#ifdef RELAY
# define NO_NEWBIES // same as _flag_disable_unauthenticated_users ?
// anyway, chance for some ifdef optimizations TODO
# define _flag_disable_authorization
# define IRCGATE_NICK "PSYC.EU"
# undef DEFAULT_USER_OBJECT
# 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]))))
#endif
#ifdef NO_NEWBIES
#ifdef _flag_disable_authorization
# define IS_NEWBIE 0
#else
# define IS_NEWBIE (!v("password"))