Admins with PERMISSIONS can now remove notes placed by other admins.

This commit is contained in:
Intigracy
2015-07-26 11:08:30 -07:00
parent 96fbdba828
commit dcfb1d3283

View File

@@ -392,7 +392,7 @@ var/global/floorIsLava = 0
I.rank = "N/A"
update_file = 1
dat += "<font color=#008800>[I.content]</font> <i>by [I.author] ([I.rank])</i> on <i><font color=blue>[I.timestamp]</i></font> "
if(I.author == usr.key)
if(I.author == usr.key || check_rights(R_PERMISSIONS))
dat += "<A href='?src=\ref[src];remove_player_info=[key];remove_index=[i]'>Remove</A>"
dat += "<br><br>"
if(update_file) info << infos