Merge pull request #3658 from Citadel-Station-13/upstream-merge-32127
[MIRROR] [s] Blocks world proc calls
This commit is contained in:
@@ -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