diff --git a/files/templates/comments.html b/files/templates/comments.html index e0220b71f..538ddc54f 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -536,7 +536,7 @@ {% if (request.path.startswith('/notifications') or request.path == '/search/messages') and c.level == 1 and c.sentto and not c.parent_post and c.author_id != AUTOJANNY_ID %} - {% if (v and v.admin_level >= PERMS['USER_BAN']) and (c.sentto == MODMAIL_ID) %} + {% if c.sentto == MODMAIL_ID and v and v.id != c.author_id and v.admin_level >= PERMS['USER_BAN'] %} {% endif %}