summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/banned.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/banned.html b/templates/banned.html
index 666521a4..1a9a3915 100644
--- a/templates/banned.html
+++ b/templates/banned.html
@@ -88,7 +88,7 @@
<br>
{% endif %}
- {% if config.ban_appeals %}
+ {% if config.ban_appeals and (not ban.expires or ban.expires - ban.created > config.ban_appeals_min_length )%}
<hr>
{% if pending_appeal %}
<p>