} else if(RPMODE(player) && !Can_RPCHAT(player)) {
notify(player, T("You can't do that in RPMODE."));
return;
-#endif
+#endif /* RPMODE_SYS */
}
}
} else if(RPMODE(player) && !Can_RPCHAT(player)) {
notify(player, T("You can't do that in RPMODE."));
return;
-#endif
+#endif /* RPMODE_SYS */
}
}
if (IsThing(who))
safe_format(tbuf1, &bp, "(#%d)", who);
sf = 0;
- if (Chanuser_Hide(u) || Chanuser_Gag(u) || (RPMODE(u->who) && !Can_RPCHAT(u->who))) {
+ if (Chanuser_Hide(u) || Chanuser_Gag(u)
+#ifdef RPMODE_SYS
+ || (RPMODE(u->who) && !Can_RPCHAT(u->who))
+#endif /* RPMODE_SYS */
+ ) {
safe_str(" (", tbuf1, &bp);
sf++;
}
safe_str("gagging", tbuf1, &bp);
sf++;
}
+#ifdef RPMODE_SYS
if(RPMODE(u->who) && !Can_RPCHAT(u->who)) {
if(sf > 1) safe_chr(',', tbuf1, &bp);
safe_str("rpgag", tbuf1, &bp);
sf++;
}
+#endif /* RPMODE_SYS */
if(sf > 0)
safe_chr(')', tbuf1, &bp);
}
nu = u->next;
cont = (!GoodObject(current) ||
(nac->checkquiet && Chanuser_Quiet(u)) ||
- Chanuser_Gag(u) || (RPMODE(current) && !Can_RPCHAT(current))
+ Chanuser_Gag(u)
+#ifdef RPMODE_SYS
+ || (RPMODE(current) && !Can_RPCHAT(current))
+#endif
|| (IsPlayer(current) && !Connected(current)));
} while (cont);
nac->u = nu;