diff --git a/world/net/include/net.h b/world/net/include/net.h index 6f731c1..c47bf56 100644 --- a/world/net/include/net.h +++ b/world/net/include/net.h @@ -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" diff --git a/world/net/include/person.h b/world/net/include/person.h index 4eaa3c5..f5d0f43 100644 --- a/world/net/include/person.h +++ b/world/net/include/person.h @@ -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"))