From 9e2655b43d62b7a5340cd78acd49e6eafc20829c Mon Sep 17 00:00:00 2001 From: Ari Johnson Date: Fri, 9 Jan 2015 10:49:41 -0500 Subject: [PATCH] Add RPCHAT privilege to receive pages as well as send them --- src/speech.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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", -- 2.30.2