diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb
index a982928..cafe726 100644
--- a/app/views/users/show.html.erb
+++ b/app/views/users/show.html.erb
@@ -15,7 +15,7 @@
<%= @user.name %>
- <% if @ban_json %>
+ <% if @ban_json && (@ban_json["expires"] == "forever" || !(DateTime.parse(@ban_json["expires"]) <= DateTime.now)) %>
This user is banned on the server for "<%=@ban_json["reason"]%>"<%=" until #{@ban_json["expires"]}" unless @ban_json["expires"] == "forever"%>
<% end %>
<% if @user.banned? %>