From 7d44e1e0bcbc98f835150984c307090eb1eaec03 Mon Sep 17 00:00:00 2001
From: S34N <12197162+S34NW@users.noreply.github.com>
Date: Mon, 2 Sep 2024 09:14:43 +0100
Subject: [PATCH] oops
---
code/modules/admin/verbs/adminsay.dm | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/code/modules/admin/verbs/adminsay.dm b/code/modules/admin/verbs/adminsay.dm
index 980df33b911fd..c992c48b92021 100644
--- a/code/modules/admin/verbs/adminsay.dm
+++ b/code/modules/admin/verbs/adminsay.dm
@@ -66,14 +66,6 @@
if(!msg)
return
- // Do this up here before it gets sent to everyone & emoji'd
- if(SSredis.connected)
- var/list/data = list()
- data["author"] = usr.ckey
- data["source"] = GLOB.configuration.system.instance_id
- data["message"] = html_decode(msg)
- SSredis.publish("byond.devsay", json_encode(data))
-
for(var/client/C in GLOB.admins)
if(check_rights(R_ADMIN|R_MOD|R_DEV_TEAM, 0, C.mob))
var/display_name = key
@@ -85,7 +77,7 @@
msg = "[msg]"
to_chat(C, "DEV: [display_name] ([admin_jump_link(mob)]): [msg]", MESSAGE_TYPE_DEVCHAT, confidential = TRUE)
- SSblackbox.record_feedback("tally", "admin_verb", 1, "Msay") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
+ SSblackbox.record_feedback("tally", "admin_verb", 1, "Devsay") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
/client/proc/cmd_mentor_say(msg as text)
set name = "Msay"