From 3c3d19ade876192d8489f7b1b7db1791044d14ed Mon Sep 17 00:00:00 2001 From: Cael_Aislinn Date: Sat, 23 Feb 2013 01:31:52 +1000 Subject: [PATCH] added missing config links, added holder rights check to hearing deadchat Signed-off-by: Cael_Aislinn --- code/controllers/configuration.dm | 4 ++-- code/modules/mob/say.dm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/controllers/configuration.dm b/code/controllers/configuration.dm index 49829fea88f..f537bbae3e6 100644 --- a/code/controllers/configuration.dm +++ b/code/controllers/configuration.dm @@ -63,8 +63,8 @@ var/server var/banappeals - var/wikiurl - var/forumurl + var/wikiurl = "http://baystation12.net/wiki/index.php?title=Main_Page" + var/forumurl = "http://baystation12.net/forums/" //Alert level description var/alert_desc_green = "All threats to the station have passed. Security may not have weapons visible, privacy laws are once again fully enforced." diff --git a/code/modules/mob/say.dm b/code/modules/mob/say.dm index 9ff0030e90b..9a8999b8dfb 100644 --- a/code/modules/mob/say.dm +++ b/code/modules/mob/say.dm @@ -50,7 +50,7 @@ for(var/mob/M in player_list) if(istype(M, /mob/new_player)) continue - if(M.client && M.client.holder && (M.client.prefs.toggles & CHAT_DEAD)) //admins can toggle deadchat on and off. This is a proc in admin.dm and is only give to Administrators and above + if(M.client && M.client.holder && M.client.holder.rights & R_ADMIN && (M.client.prefs.toggles & CHAT_DEAD)) //admins can toggle deadchat on and off. This is a proc in admin.dm and is only give to Administrators and above M << rendered //Admins can hear deadchat, if they choose to, no matter if they're blind/deaf or not. else if(M.stat == DEAD) M.show_message(rendered, 2) //Takes into account blindness and such.