Skip to content

Commit

Permalink
Remove Note Fix (#4422)
Browse files Browse the repository at this point in the history
# About the pull request
Allows managers to remove other people's notes again.
  • Loading branch information
realforest2001 committed Sep 20, 2023
1 parent 972bead commit bd5f9a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/admin/admin.dm
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
color = "#114e11"

dat += "<font color=[color]>[N.text]</font> <i>by [admin_ckey] ([N.admin_rank])</i>[confidential_text] on <i><font color=blue>[N.date] [NOTE_ROUND_ID(N)]</i></font> "
if(admin_ckey == usr.ckey || admin_ckey == "Adminbot" || ishost(usr))
if(admin_ckey == usr.ckey || admin_ckey == "Adminbot" || check_for_rights(R_PERMISSIONS))
dat += "<A HREF='?_src_=admin_holder;[HrefToken(forceGlobal = TRUE)];remove_player_info=[key];remove_index=[N.id]'>Remove</A>"

dat += "<br><br>"
Expand Down

0 comments on commit bd5f9a5

Please sign in to comment.