[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
This commit is contained in:
committed by
Poojawa
parent
42fa773aaf
commit
7d9dbcd0c3
@@ -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]")
|
||||
|
||||
Reference in New Issue
Block a user