From f65451cf7c0ef0773251e4c910e91d6feb6c6592 Mon Sep 17 00:00:00 2001 From: Dorsisdwarf Date: Fri, 5 Mar 2021 09:44:52 +0000 Subject: [PATCH] Adds ckey notification to cross-server msgs (admin) (#57392) --- code/datums/world_topic.dm | 1 + code/game/machinery/computer/communications.dm | 1 + 2 files changed, 2 insertions(+) diff --git a/code/datums/world_topic.dm b/code/datums/world_topic.dm index b24810b4f21..58ab325bb79 100644 --- a/code/datums/world_topic.dm +++ b/code/datums/world_topic.dm @@ -98,6 +98,7 @@ return minor_announce(input["message"], "Incoming message from [input["message_sender"]]") + message_admins("Receiving a message from [input["sender_ckey"]] at [input["source"]]") for(var/obj/machinery/computer/communications/CM in GLOB.machines) CM.override_cooldown() diff --git a/code/game/machinery/computer/communications.dm b/code/game/machinery/computer/communications.dm index 87ebb60fa32..acd2a8b508a 100755 --- a/code/game/machinery/computer/communications.dm +++ b/code/game/machinery/computer/communications.dm @@ -257,6 +257,7 @@ var/network_name = CONFIG_GET(string/cross_comms_network) if (network_name) payload["network"] = network_name + payload["sender_ckey"] = usr.ckey send2otherserver(station_name(), message, "Comms_Console", destination == "all" ? null : list(destination), additional_data = payload) minor_announce(message, title = "Outgoing message to allied station")