Merge pull request #32127 from tgstation/Cyberboss-patch-3

[s] Blocks world proc calls
This commit is contained in:
oranges
2017-10-28 11:33:51 +13:00
committed by CitadelStationBot
parent 0a32eb3162
commit c00c1dcc00
+3 -1
View File
@@ -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