From 14e060090a028b444bc7f4ce44900ae6795eb355 Mon Sep 17 00:00:00 2001 From: SoundScopes Date: Wed, 4 Mar 2015 14:50:29 +0000 Subject: [PATCH] Rights check Dumb --- code/modules/admin/verbs/deadsay.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/admin/verbs/deadsay.dm b/code/modules/admin/verbs/deadsay.dm index 105c99c0..02519121 100644 --- a/code/modules/admin/verbs/deadsay.dm +++ b/code/modules/admin/verbs/deadsay.dm @@ -45,6 +45,8 @@ continue if(M.client && M.client.holder && (M.client.prefs.toggles & CHAT_DEAD)) // show the message to admins who have deadchat toggled on + if((M.client.holder.rights & R_DUTYOFF) && !(M.client.holder.rights & (R_ADMIN|R_MOD|R_DEV|R_FUN))) + continue M.show_message(rendered, 2) else if(M.stat == DEAD && (M.client.prefs.toggles & CHAT_DEAD)) // show the message to regular ghosts who have deadchat toggled on