- 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:
errorage
2013-04-04 20:33:23 +02:00
parent 5f9bddd998
commit 2f132126e9
@@ -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