diff --git a/code/modules/admin/verbs/debug.dm b/code/modules/admin/verbs/debug.dm index 980dfd0a59..ebb200e8e4 100644 --- a/code/modules/admin/verbs/debug.dm +++ b/code/modules/admin/verbs/debug.dm @@ -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