mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 04:57:57 +01:00
- Makes it impossible for admins to varedit the ckey or key value of client objects. This is to prevent admin log spoofing.
This commit is contained in:
@@ -275,6 +275,10 @@ var/list/forbidden_varedit_object_types = list(
|
||||
usr << "\red It is forbidden to edit this object's variables."
|
||||
return
|
||||
|
||||
if(istype(O, /client) && (param_var_name == "ckey" || param_var_name == "key"))
|
||||
usr << "\red You cannot edit ckeys on client objects."
|
||||
return
|
||||
|
||||
var/class
|
||||
var/variable
|
||||
var/var_value
|
||||
|
||||
Reference in New Issue
Block a user