Allow RP players to page if they have the RPChat power
authorAri Johnson <ari@theari.com>
Thu, 8 Jan 2015 22:02:21 +0000 (17:02 -0500)
committerAri Johnson <ari@theari.com>
Thu, 8 Jan 2015 22:02:21 +0000 (17:02 -0500)
src/speech.c

index a2e9fc068cdf8418b19e44ea63ec6ea70e40a88e..3ae5ae556d364c5ed62fea14b41a20c6ce22e32b 100644 (file)
@@ -711,7 +711,8 @@ do_page(dbref player, const char *arg1, const char *arg2, dbref cause,
        safe_chr(' ', tbuf, &tp);
        safe_str_space(current, tbuf, &tp);
 #ifdef RPMODE_SYS
-      } else if(RPMODE(player) && LEVEL(target) < 23) {
+      } else if(RPMODE(player)
+               && !(Can_RPCHAT(player) || LEVEL(target) >= 23)) {
              notify(player, "You can't do that in RPMODE.");
              safe_chr(' ', tbuf, &tp);
              safe_str_space(Name(target), tbuf, &tp);