[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 23:30:11 +02:00
committed by GitHub
co-authored by Novacat Kashargul
parent fbaaa457e6
commit 9656f82fda
3 changed files with 9 additions and 6 deletions
+5 -5
View File
@@ -750,11 +750,11 @@
stat(null)
for(var/datum/controller/subsystem/SS in Master.subsystems)
SS.stat_entry()
// CHOMPedit - Ticket System
//if(statpanel("Tickets"))
//GLOB.ahelp_tickets.stat_entry()
/* CHOMPedit - Ticket System
if(statpanel("Tickets"))
if(check_rights(R_ADMIN|R_SERVER,FALSE)) //Prevents non-staff from opening the list of ahelp tickets
GLOB.ahelp_tickets.stat_entry()
*/
if(length(GLOB.sdql2_queries))
if(statpanel("SDQL2"))