mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
added global PM visibility for mods
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
This commit is contained in:
@@ -178,5 +178,5 @@
|
|||||||
for(var/client/X in admins)
|
for(var/client/X in admins)
|
||||||
//check client/X is an admin and isn't the sender or recipient
|
//check client/X is an admin and isn't the sender or recipient
|
||||||
//only admins can see PMs
|
//only admins can see PMs
|
||||||
if(X.key!=key && X.key!=C.key && X.holder.rights & R_ADMIN)
|
if(X.key!=key && X.key!=C.key && (X.holder.rights & R_ADMIN) || (X.holder.rights & R_MOD) )
|
||||||
X << "<B><font color='blue'>PM: [key_name(src, X, 0)]->[key_name(C, X, 0)]:</B> \blue [msg]</font>" //inform X
|
X << "<B><font color='blue'>PM: [key_name(src, X, 0)]->[key_name(C, X, 0)]:</B> \blue [msg]</font>" //inform X
|
||||||
|
|||||||
Reference in New Issue
Block a user