From 7d9dbcd0c36ecf23fb30f7db430b5d3009b0ad33 Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Fri, 2 Mar 2018 20:03:17 -0600 Subject: [PATCH] [MIRROR] [s] Where were you, the day cyberboss exposed the database password to all admins with a holder (#5761) * Merge pull request #36104 from MrStonedOne/blamecyberboss [s] Where were you, the day cyberboss exposed the database password to all admins with a holder * [s] Where were you, the day cyberboss exposed the database password to all admins with a holder --- code/controllers/configuration/config_entry.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/controllers/configuration/config_entry.dm b/code/controllers/configuration/config_entry.dm index 28526d8870..ae38e19bc8 100644 --- a/code/controllers/configuration/config_entry.dm +++ b/code/controllers/configuration/config_entry.dm @@ -33,12 +33,12 @@ /datum/config_entry/can_vv_get(var_name) . = ..() - if(var_name == "value" || var_name == "default") + if(var_name == "config_entry_value" || var_name == "default") . &= !(protection & CONFIG_ENTRY_HIDDEN) /datum/config_entry/vv_edit_var(var_name, var_value) var/static/list/banned_edits = list("name", "default", "resident_file", "protection", "abstract_type", "modified", "dupes_allowed") - if(var_name == "value") + if(var_name == "config_entry_value") if(protection & CONFIG_ENTRY_LOCKED) return FALSE . = ValidateAndSet("[var_value]")