From 0f5818d2b0a0e4cc3b5c695bb75ff32c1720f236 Mon Sep 17 00:00:00 2001 From: skull132 Date: Thu, 11 Feb 2016 17:36:12 +0200 Subject: [PATCH] Third Party PM Visibility Only mods and admins should now see them. --- code/modules/admin/verbs/adminpm.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/admin/verbs/adminpm.dm b/code/modules/admin/verbs/adminpm.dm index 263ad345191..ea90252bfe9 100644 --- a/code/modules/admin/verbs/adminpm.dm +++ b/code/modules/admin/verbs/adminpm.dm @@ -115,7 +115,7 @@ //check client/X is an admin and isn't the sender or recipient if(X == C || X == src) continue - if(X.key != key && X.key != C.key && (X.holder.rights & R_ADMIN|R_MOD)) + if(X.key != key && X.key != C.key && (X.holder.rights & (R_ADMIN|R_MOD))) X << "" + create_text_tag("pm_other", "PM:", X) + " [key_name(src, X, 0)] to [key_name(C, X, 0)]: [msg]" /client/proc/cmd_admin_irc_pm(sender) @@ -144,5 +144,5 @@ for(var/client/X in admins) if(X == src) continue - if(X.holder.rights & R_ADMIN|R_MOD) + if(X.holder.rights & (R_ADMIN|R_MOD)) X << "" + create_text_tag("pm_other", "PM:", X) + " [key_name(src, X, 0)] to IRC-[sender]: [msg]"