Merge pull request #32127 from tgstation/Cyberboss-patch-3
[s] Blocks world proc calls
This commit is contained in:
committed by
CitadelStationBot
parent
0a32eb3162
commit
c00c1dcc00
@@ -128,8 +128,10 @@ GLOBAL_PROTECT(LastAdminCalledProc)
|
||||
/world/proc/WrapAdminProcCall(target, procname, list/arguments)
|
||||
if(target == GLOBAL_PROC)
|
||||
return call(procname)(arglist(arguments))
|
||||
else
|
||||
else if(target != world)
|
||||
return call(target, procname)(arglist(arguments))
|
||||
else
|
||||
log_admin_private("[key_name(usr)] attempted to call world/proc/[procname] with arguments: [english_list(arguments)]")
|
||||
|
||||
/proc/IsAdminAdvancedProcCall()
|
||||
#ifdef TESTING
|
||||
|
||||
Reference in New Issue
Block a user