From e93d89f1da24de6bcc7ce097e4c6fec995571ac6 Mon Sep 17 00:00:00 2001 From: CocaColaTastesGood <47264839+CocaColaTastesGood@users.noreply.github.com> Date: Wed, 3 Nov 2021 22:07:20 +0200 Subject: [PATCH] [s] Fixes exploits (#62549) Removes an unsanitized to chat to world. --- code/datums/components/religious_tool.dm | 3 --- code/modules/holodeck/computer.dm | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/code/datums/components/religious_tool.dm b/code/datums/components/religious_tool.dm index 5d458a0ab81..89e172e8eb3 100644 --- a/code/datums/components/religious_tool.dm +++ b/code/datums/components/religious_tool.dm @@ -114,9 +114,6 @@ select_sect(usr, params["path"]) if("perform_rite") perform_rite(usr, params["path"]) - else - to_chat(world, action) - /// Select the sect, called from [/datum/component/religious_tool/proc/AttemptActions] /datum/component/religious_tool/proc/select_sect(mob/living/user, path) diff --git a/code/modules/holodeck/computer.dm b/code/modules/holodeck/computer.dm index 55601fd2e7c..87a7c8ce131 100644 --- a/code/modules/holodeck/computer.dm +++ b/code/modules/holodeck/computer.dm @@ -149,6 +149,7 @@ GLOBAL_LIST_INIT(typecache_holodeck_linked_floorcheck_ok, typecacheof(list(/turf if(.) return . = TRUE + switch(action) if("load_program") var/program_to_load = params["id"]