Required admin privileges restrictions

Added a check to ranged LOOC to only broadcast them to active staff.

Added a check to the ahelp ticket panel to only allow active staff to view them.
This commit is contained in:
SatinIsle
2024-08-19 16:36:52 +01:00
parent a403a7c1b9
commit bfd2cc4c4d
3 changed files with 6 additions and 2 deletions
+2 -1
View File
@@ -169,7 +169,8 @@
// Admins with RLOOC displayed who weren't already in
for(var/client/admin in GLOB.admins)
if(!(admin in receivers) && admin.is_preference_enabled(/datum/client_preference/holder/show_rlooc))
r_receivers |= admin
if(check_rights(R_SERVER, FALSE, admin)) //Stop rLOOC showing for retired staff
r_receivers |= admin
msg = GLOB.is_valid_url.Replace(msg,"<span class='linkify'>$1</span>")