Merge pull request #36796 from neersighted/delete_perms

Make the delete verb check for SPAWN|DEBUG
This commit is contained in:
Jordan Brown
2018-03-30 11:58:37 -04:00
committed by CitadelStationBot
parent 2d4218d6c6
commit c97d4e0970
+1 -1
View File
@@ -553,7 +553,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
set category = "Admin"
set name = "Delete"
if(!check_rights(R_ADMIN))
if(!check_rights(R_SPAWN|R_DEBUG))
return
admin_delete(A)