From db9598324fdba64a8f4e1c09d3d1d093748ef21e Mon Sep 17 00:00:00 2001 From: Byemoh Date: Sun, 10 Nov 2024 00:47:30 -0600 Subject: [PATCH] Update debug.dm --- code/modules/admin/verbs/debug.dm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/modules/admin/verbs/debug.dm b/code/modules/admin/verbs/debug.dm index f63b20bde728..ae477c1bc6cf 100644 --- a/code/modules/admin/verbs/debug.dm +++ b/code/modules/admin/verbs/debug.dm @@ -49,6 +49,11 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that if(!procpath) return + if(findtextEx(trim(lowertext(procpath)), "rustg")) + message_admins("[key_name_admin(src)] attempted to proc call rust-g procs. Inform council/host at once.") + log_admin("[key_name(src)] attempted to proc call rust-g procs. Inform council/host at once.") + return + //strip away everything but the proc name var/list/proclist = splittext(procpath, "/") if (!length(proclist))