From dc6a068bc843219f049997171564bc4d1981c054 Mon Sep 17 00:00:00 2001
From: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
Date: Sat, 9 Nov 2024 20:38:37 +0000
Subject: [PATCH] OHHHHHHHHHHHHH GOD (#27327)
---
code/modules/admin/verbs/debug.dm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/code/modules/admin/verbs/debug.dm b/code/modules/admin/verbs/debug.dm
index d629de50a02..08944435cec 100644
--- a/code/modules/admin/verbs/debug.dm
+++ b/code/modules/admin/verbs/debug.dm
@@ -52,6 +52,13 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
var/procname = clean_input("Proc path, eg: /proc/fake_blood","Path:", null)
if(!procname) return
+ // absolutely not
+ if(findtextEx(trim(lowertext(procname)), "rustg"))
+ message_admins("[key_name_admin(src)] attempted to proc call rust-g procs. Inform the host at once.")
+ log_admin("[key_name(src)] attempted to proc call rust-g procs. Inform the host at once.")
+ GLOB.discord_manager.send2discord_simple(DISCORD_WEBHOOK_ADMIN, "[key_name(src)] attempted to proc call rustg things. Inform the host at once.")
+ return
+
if(targetselected && !hascall(target,procname))
to_chat(usr, "Error: callproc(): target has no such call [procname].")
return