From 2b050203174267ed14b9f1cefe99c41453252177 Mon Sep 17 00:00:00 2001 From: Jordie <4343468+Jordie0608@users.noreply.github.com> Date: Sat, 10 Aug 2019 19:13:44 +1000 Subject: [PATCH] Deadchat ban option (#45789) * adds deadchat ban option * makes deadchat use new ban type --- code/modules/admin/sql_ban_system.dm | 2 +- code/modules/mob/say.dm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/admin/sql_ban_system.dm b/code/modules/admin/sql_ban_system.dm index 4285c548152..09b73647c8d 100644 --- a/code/modules/admin/sql_ban_system.dm +++ b/code/modules/admin/sql_ban_system.dm @@ -239,7 +239,7 @@ output += "" //departments/groups that don't have command staff would throw a javascript error since there's no corresponding reference for toggle_head() var/list/headless_job_lists = list("Silicon" = GLOB.nonhuman_positions, - "Abstract" = list("Appearance", "Emote", "OOC")) + "Abstract" = list("Appearance", "Emote", "Deadchat", "OOC")) for(var/department in headless_job_lists) output += "
" break_counter = 0 diff --git a/code/modules/mob/say.dm b/code/modules/mob/say.dm index 7da198d2924..cc12a56eb70 100644 --- a/code/modules/mob/say.dm +++ b/code/modules/mob/say.dm @@ -45,7 +45,7 @@ to_chat(usr, "Speech is currently admin-disabled.") return - var/jb = is_banned_from(ckey, "OOC") + var/jb = is_banned_from(ckey, "Deadchat") if(QDELETED(src)) return