From 9ee598ee81cc89c3857b9a1d78a4f994afa8d8a8 Mon Sep 17 00:00:00 2001
From: ctrlcctrlv
Date: Fri, 9 Aug 2013 19:55:25 +0000
Subject: [PATCH] Option to have a message on the ban page
---
templates/banned.html | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/templates/banned.html b/templates/banned.html
index b052cd41..401c36e5 100644
--- a/templates/banned.html
+++ b/templates/banned.html
@@ -77,7 +77,9 @@
{% trans %}Your IP address is{% endtrans %} {{ ban.ip }}.
- {{ config.ban_page_message }}
+ {% if config.ban_page_message %}
+ {{ config.ban_page_message }}
+ {% endif %}
{% endfilter %}