aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cgi/templates/banned.html2
-rwxr-xr-xcgi/weabot.py3
2 files changed, 2 insertions, 3 deletions
diff --git a/cgi/templates/banned.html b/cgi/templates/banned.html
index e61cb73..9e59699 100644
--- a/cgi/templates/banned.html
+++ b/cgi/templates/banned.html
@@ -53,7 +53,7 @@
<div class="title">ERROR: Se te ha prohibido el acceso</div>
<div class="description">Lo sentimos, tu IP (#{ip}) o red están en lista negra.
<ul>
- <?py if reason != "": ?>
+ <?py if reason: ?>
<li>La razón fue:
<b>#{reason}</b>
</li>
diff --git a/cgi/weabot.py b/cgi/weabot.py
index 237a944..3bcef7b 100755
--- a/cgi/weabot.py
+++ b/cgi/weabot.py
@@ -318,8 +318,7 @@ class weabot(object):
expire = ""
template_values = {
- 'cgi_url': Settings.CGI_URL,
- 'return_board': path_split[2],
+ #'return_board': path_split[2],
'boards_str': boards_str,
'reason': ban['reason'],
'added': formatTimestamp(ban["added"]),