admin stealth mode now works while deadminned (#6630)

this is admittedly not a usual use of stealth mode but it's nice to not
pop on/off the list when deadminned

(this is nice for event rounds since you're supposed to deadmin if in a
conflict role)
This commit is contained in:
silicons
2024-07-31 10:10:27 -04:00
committed by GitHub
parent e4e31a0356
commit edcd2e52ad
18 changed files with 62 additions and 55 deletions
@@ -38,7 +38,7 @@
return
message_admins("[key_name_admin(usr)] Showed [key_name_admin(C)] a <a href='?_src_=vars;datumrefresh=[REF(target)]'>VV window</a>")
log_admin("Admin [key_name(usr)] Showed [key_name(C)] a VV window of a [target]")
to_chat(C, "[holder.fakekey ? "an Administrator" : "[usr.client.key]"] has granted you access to view a View Variables window")
to_chat(C, "[is_under_stealthmin() ? "an Administrator" : "[usr.client.key]"] has granted you access to view a View Variables window")
C.debug_variables(target)
if(check_rights(R_DEBUG))
if(href_list[VV_HK_DELETE])