Skip to content

Commit

Permalink
fixes the redis bridge (#4181)
Browse files Browse the repository at this point in the history
that’s not how bitflags work
  • Loading branch information
harryob committed Aug 14, 2023
1 parent ef4f242 commit bb424db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/datums/redis/callbacks/asay.dm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
var/msg = SPAN_MOD("<span class='prefix'>[data["rank"]]:</span> <EM>[data["author"]]@[data["source"]]</EM>: <span class='message'>[strip_html(data["message"])]</span>")

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)

0 comments on commit bb424db

Please sign in to comment.