[s] Fixes exploits (#62549)

Removes an unsanitized to chat to world.
This commit is contained in:
CocaColaTastesGood
2021-11-04 09:07:20 +13:00
committed by GitHub
parent b737a77040
commit e93d89f1da
2 changed files with 1 additions and 3 deletions
-3
View File
@@ -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)
+1
View File
@@ -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"]