check for individual clients (#18585)

* check for individual clients

* .
This commit is contained in:
Kashargul
2025-10-02 00:37:34 +02:00
committed by GitHub
parent d87aac3b79
commit 86bcb5ecd8
+1 -1
View File
@@ -22,7 +22,7 @@ ADMIN_VERB(cmd_mod_say, (R_ADMIN|R_MOD|R_SERVER), "Msay", "Send a message to oth
if(check_rights(R_ADMIN, 0))
sender_name = span_admin("[sender_name]")
for(var/client/C in GLOB.admins)
if(check_rights(R_ADMIN|R_MOD|R_SERVER)) //VOREStation Edit
if(check_rights_for(C, R_ADMIN|R_MOD|R_SERVER)) //VOREStation Edit
to_chat(C, span_mod_channel(create_text_tag("mod", "MOD:", C) + " " + span_name("[sender_name]") + "([admin_jump_link(user.mob, C.holder)]): " + span_name("[msg]") ))
feedback_add_details("admin_verb","MS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!