mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
fixes a trial admin privilege escalation exploit (#27741)
Co-authored-by: ancientpower <ancientpowerer@gmail.com>
This commit is contained in:
@@ -1236,7 +1236,7 @@ client/proc/check_convertables()
|
||||
object = copytext(object, 1, variables_start)
|
||||
|
||||
|
||||
var/list/matches = get_matching_types(object, /datum) - typesof(/turf, /area) //Exclude non-movable atoms
|
||||
var/list/matches = get_matching_types(object, /datum) - typesof(/turf, /area, /datum/admins) //Exclude non-movable atoms
|
||||
|
||||
if(matches.len == 0)
|
||||
to_chat(usr, "Unable to find any matches.")
|
||||
|
||||
Reference in New Issue
Block a user