mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
Admins with PERMISSIONS can now remove notes placed by other admins.
This commit is contained in:
@@ -392,7 +392,7 @@ var/global/floorIsLava = 0
|
|||||||
I.rank = "N/A"
|
I.rank = "N/A"
|
||||||
update_file = 1
|
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> "
|
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 += "<A href='?src=\ref[src];remove_player_info=[key];remove_index=[i]'>Remove</A>"
|
||||||
dat += "<br><br>"
|
dat += "<br><br>"
|
||||||
if(update_file) info << infos
|
if(update_file) info << infos
|
||||||
|
|||||||
Reference in New Issue
Block a user