Restricts the visibility of some more variables in the VV menu (#22788)

* more admin-only vv restrictions

* even more

* hopefully the last of them
This commit is contained in:
SteelSlayer
2023-10-09 01:29:14 -05:00
committed by GitHub
parent 0512f8a674
commit dded4e54a6
3 changed files with 14 additions and 2 deletions
+2 -2
View File
@@ -14,7 +14,7 @@
/mob/can_vv_get(var_name)
var/static/list/protected_vars = list(
"lastKnownIP", "computer_id"
"lastKnownIP", "computer_id", "attack_log_old"
)
if(!check_rights(R_ADMIN, FALSE, src) && (var_name in protected_vars))
return FALSE
@@ -22,7 +22,7 @@
/client/can_vv_get(var_name)
var/static/list/protected_vars = list(
"address", "computer_id"
"address", "chatOutput", "computer_id", "connection", "jbh", "pm_tracker", "related_accounts_cid", "related_accounts_ip", "watchlisted"
)
if(!check_rights(R_ADMIN, FALSE, mob) && (var_name in protected_vars))
return FALSE