From bd5f9a5f3f881d1b06b1e1de1e4d3032d5b473da Mon Sep 17 00:00:00 2001 From: forest2001 <41653574+realforest2001@users.noreply.github.com> Date: Wed, 20 Sep 2023 22:23:02 +0100 Subject: [PATCH] Remove Note Fix (#4422) # About the pull request Allows managers to remove other people's notes again. --- code/modules/admin/admin.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/admin/admin.dm b/code/modules/admin/admin.dm index 2c749df71bb7..5042167023e6 100644 --- a/code/modules/admin/admin.dm +++ b/code/modules/admin/admin.dm @@ -103,7 +103,7 @@ color = "#114e11" dat += "[N.text] by [admin_ckey] ([N.admin_rank])[confidential_text] on [N.date] [NOTE_ROUND_ID(N)] " - if(admin_ckey == usr.ckey || admin_ckey == "Adminbot" || ishost(usr)) + if(admin_ckey == usr.ckey || admin_ckey == "Adminbot" || check_for_rights(R_PERMISSIONS)) dat += "Remove" dat += "

"