From fac9c12eb99ccb3b6f99abb3ef17f127e0fe7728 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 6 Apr 2024 13:53:07 +0200 Subject: [PATCH] Revert "dont generate a mod log unless necessary" This reverts commit ead44ed1828b8836dec693106ee7181d9bf68315. --- files/templates/comments.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/templates/comments.html b/files/templates/comments.html index e6d87f45c..90a376925 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -446,12 +446,12 @@ {% if c.parent_post %} {% set url = "" %} - {% if v.id == c.post.author_id %} + {% if v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %} + {% set url = "pin_comment_admin" %} + {% elif v.id == c.post.author_id %} {% set url = "pin_comment_op" %} {% elif v.mods_hole(c.post.hole) %} {% set url = "pin_comment_mod" %} - {% elif v.admin_level >= PERMS['POST_COMMENT_MODERATION'] %} - {% set url = "pin_comment_admin" %} {% endif %} {% if url != "" %}