Merge pull request #29841 from tgstation/Cyberboss-patch-2

Makes the ahelp topic give the permissions warning
This commit is contained in:
Leo
2017-08-14 08:54:07 -03:00
committed by GitHub
+1 -1
View File
@@ -6,7 +6,7 @@
log_admin("[key_name(usr)] tried to use the admin panel without authorization.")
return
if(href_list["ahelp"])
if(!check_rights(R_ADMIN))
if(!check_rights(R_ADMIN, TRUE))
return
var/ahelp_ref = href_list["ahelp"]