From d8afc4e598ba44ebc075c0385f44503137e59f0f Mon Sep 17 00:00:00 2001 From: "psyc://psyced.org/~lynX" <@> Date: Wed, 8 Apr 2009 09:52:09 +0200 Subject: [PATCH] fix for _flag_enable_unauthenticated_message_private, thx tg --- world/net/person.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/world/net/person.c b/world/net/person.c index 1aca33f..9647889 100644 --- a/world/net/person.c +++ b/world/net/person.c @@ -1638,8 +1638,12 @@ case "_notice_invitation": case "_message_private_question": case "_message_private": // same filtering code as couple lines above - if (( IS_NEWBIE || !itsme && FILTERED(source)) && - (!profile || profile[PPL_NOTIFY] <= PPL_NOTIFY_PENDING)) { + if (( +#ifndef _flag_enable_unauthenticated_message_private + IS_NEWBIE || +#endif + (!itsme && FILTERED(source)) && + (!profile || profile[PPL_NOTIFY] <= PPL_NOTIFY_PENDING))) { PT(("_failure_filter_strangers to %O from %O\n", source, ME)) sendmsg(source, "_failure_filter_strangers", 0, ([ "_nick" : MYNICK ]) );