From 2c613b3a56eb60c002bc5c1896d1eb48164a1b22 Mon Sep 17 00:00:00 2001
From: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com>
Date: Sat, 14 Aug 2021 14:36:34 +0100
Subject: [PATCH] Admin message
---
code/modules/client/client_procs.dm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/code/modules/client/client_procs.dm b/code/modules/client/client_procs.dm
index 1388601dc3f..8c7dc4963f6 100644
--- a/code/modules/client/client_procs.dm
+++ b/code/modules/client/client_procs.dm
@@ -385,6 +385,9 @@
INVOKE_ASYNC(src, .proc/cid_count_check)
+ if(check_rights(R_ADMIN, FALSE, mob)) // Mob is required. Dont even try without it.
+ to_chat(src, "The queue server is currently [SSqueue.queue_enabled ? "enabled" : "disabled"], with a threshold of [SSqueue.queue_threshold]. This [SSqueue.persist_queue ? "will" : "will not"] persist through rounds.")
+
/client/proc/is_connecting_from_localhost()
var/localhost_addresses = list("127.0.0.1", "::1") // Adresses