[MIRROR] Required admin privileges restrictions (#8802)

Co-authored-by: Novacat <35587478+Novacat@users.noreply.github.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2
2024-08-27 14:30:11 -07:00
committed by GitHub
parent fbaaa457e6
commit 9656f82fda
3 changed files with 9 additions and 6 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_ADMIN|R_SERVER, FALSE, admin)) //Stop rLOOC showing for retired staff //CHOMPEdit, admins should see LOOC
r_receivers |= admin
msg = GLOB.is_valid_url.Replace(msg,"<span class='linkify'>$1</span>")