From bb424db2b2ae43e60c911116645c36d02af31d95 Mon Sep 17 00:00:00 2001 From: harryob Date: Mon, 14 Aug 2023 19:49:20 +0100 Subject: [PATCH] fixes the redis bridge (#4181) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit that’s not how bitflags work --- code/datums/redis/callbacks/asay.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/redis/callbacks/asay.dm b/code/datums/redis/callbacks/asay.dm index 1d994f75b447..9c60a394a4ac 100644 --- a/code/datums/redis/callbacks/asay.dm +++ b/code/datums/redis/callbacks/asay.dm @@ -10,7 +10,7 @@ var/msg = SPAN_MOD("[data["rank"]]: [data["author"]]@[data["source"]]: [strip_html(data["message"])]") for(var/client/client in GLOB.admins) - if(!(R_MOD|R_ADMIN & client.admin_holder.rights)) + if(!(R_ADMIN & client.admin_holder.rights) && !(R_MOD & client.admin_holder.rights)) continue to_chat(client, msg)