event permissions

This commit is contained in:
silicons
2020-10-07 14:43:53 -07:00
parent 89cfde9c34
commit 8e83dcd697
11 changed files with 44 additions and 3 deletions
+5
View File
@@ -28,6 +28,11 @@ GLOBAL_PROTECT(href_token)
var/deadmined
/datum/admins/CanProcCall(procname)
. = ..()
if(!check_rights(R_SENSITIVE))
return FALSE
/datum/admins/New(datum/admin_rank/R, ckey, force_active = FALSE, protected)
if(IsAdminAdvancedProcCall())
var/msg = " has tried to elevate permissions!"