mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-15 00:53:23 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user