From 2423c3adc5d1a19228677e5093e89d5f923d776d Mon Sep 17 00:00:00 2001 From: "psyc://psyced.org/~lynX" <@> Date: Tue, 26 Jul 2011 14:30:41 +0200 Subject: [PATCH] _flag_disable_authorization --- world/net/include/net.h | 5 ++--- world/net/include/person.h | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) 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"))