Log message change

This commit is contained in:
AffectedArc07
2020-07-10 20:59:18 +01:00
parent 608c71c6e5
commit efc7fa888f
+3 -1
View File
@@ -156,7 +156,9 @@ GLOBAL_PROTECT(AdminProcCallSpamPrevention)
else if(target != world)
return call(target, procname)(arglist(arguments))
else
log_admin("[key_name(usr)] attempted to call world/proc/[procname] with arguments: [english_list(arguments)]")
to_chat(usr, "<span class='boldannounce'>Call to world/proc/[procname] blocked: Advanced ProcCall detected.</span>")
message_admins("[key_name(usr)] attempted to call world/proc/[procname] with arguments: [english_list(arguments)]")
log_admin("[key_name(usr)] attempted to call world/proc/[procname] with arguments: [english_list(arguments)]l")
/proc/IsAdminAdvancedProcCall()
#ifdef TESTING