diff --git a/views/threads/post.etlua b/views/threads/post.etlua index 86ae4dc..4288fc9 100644 --- a/views/threads/post.etlua +++ b/views/threads/post.etlua @@ -29,7 +29,7 @@ <% - local show_edit = me.id == post.user_id and not me:is_guest() and not ntob(thread.is_locked) and not no_reply + local show_edit = me.id == post.user_id and not me:is_guest() and (not ntob(thread.is_locked) or me:is_mod()) and not no_reply if show_edit then %> ">Edit