diff --git a/ProjectLighthouse.Servers.Website/Pages/Partials/CommentsPartial.cshtml b/ProjectLighthouse.Servers.Website/Pages/Partials/CommentsPartial.cshtml index 349ee6b5..80182239 100644 --- a/ProjectLighthouse.Servers.Website/Pages/Partials/CommentsPartial.cshtml +++ b/ProjectLighthouse.Servers.Website/Pages/Partials/CommentsPartial.cshtml @@ -1,4 +1,4 @@ -@using System.Web +@using System.Web @using System.IO @using LBPUnion.ProjectLighthouse.Localization @using LBPUnion.ProjectLighthouse.PlayerData.Profiles @@ -36,7 +36,7 @@
There @(count == 1 ? "is" : "are") @count comment@(count == 1 ? "" : "s").
} - @if (Model.CommentsEnabled && Model.User != null) + @if (!Model.ProfileUser.IsBanned && Model.CommentsEnabled && Model.User != null) {