From: Ari Johnson Date: Fri, 9 Jan 2015 15:49:41 +0000 (-0500) Subject: Add RPCHAT privilege to receive pages as well as send them X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=9e2655b43d62b7a5340cd78acd49e6eafc20829c;p=cobramush.git Add RPCHAT privilege to receive pages as well as send them --- diff --git a/src/speech.c b/src/speech.c index 3ae5ae5..713f950 100644 --- a/src/speech.c +++ b/src/speech.c @@ -729,12 +729,14 @@ do_page(dbref player, const char *arg1, const char *arg2, dbref cause, fail_lock(player, target, Page_Lock, NULL, NOTHING); safe_chr(' ', tbuf, &tp); safe_str_space(Name(target), tbuf, &tp); - } else if(RPMODE(target) && LEVEL(player) < 23 && LEVEL(target) < 23 ) { +#ifdef RPMODE_SYS + } else if(RPMODE(target) && !(Can_RPCHAT(target) || (LEVEL(player) >= 23 && LEVEL(target) >= 23))) { page_return(player, target, "RPMode", "RPMODE", tprintf(T("%s is in RPMode and can not communicate OOCly at this moment."), Name(target))); safe_chr(' ', tbuf , &tp); safe_str_space(current, tbuf, &tp); +#endif } else if(hidden(target) && !CanSee(player,target)){ /* this is a page that appears bad, but is good */ page_return(player, target, "Away", "AWAY",