projects
/
cobramush.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94d6f70
)
Allow RP players to page if they have the RPChat power
author
Ari Johnson
<ari@theari.com>
Thu, 8 Jan 2015 22:02:21 +0000
(17:02 -0500)
committer
Ari Johnson
<ari@theari.com>
Thu, 8 Jan 2015 22:02:21 +0000
(17:02 -0500)
src/speech.c
patch
|
blob
|
history
diff --git
a/src/speech.c
b/src/speech.c
index a2e9fc068cdf8418b19e44ea63ec6ea70e40a88e..3ae5ae556d364c5ed62fea14b41a20c6ce22e32b 100644
(file)
--- a/
src/speech.c
+++ b/
src/speech.c
@@
-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);