diff options
Diffstat (limited to 'cgi/weabot.py')
-rwxr-xr-x | cgi/weabot.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/cgi/weabot.py b/cgi/weabot.py index 3ecf0f3..c1bc1a3 100755 --- a/cgi/weabot.py +++ b/cgi/weabot.py @@ -323,13 +323,6 @@ class weabot(object): else: url = f"{Settings.HOME_URL}{board['dir']}/res/{thread['id']}.html" self.output += '<html xmlns="http://www.w3.org/1999/xhtml"><meta http-equiv="refresh" content="0;url=%s" /><body><p>...</p></body></html>' % url - elif path_split[1] == "nostalgia": - caught = True - OpenDb() - thread = FetchOne( - "SELECT `timestamp` FROM `archive` WHERE `boardid` = 9 AND `timestamp` < 1462937230 ORDER BY RAND() LIMIT 1") - url = f"{Settings.HOME_URL}/zonavip/read/{thread['timestamp']}/" - self.output += '<html xmlns="http://www.w3.org/1999/xhtml"><meta http-equiv="refresh" content="0;url=%s" /><body><p>...</p></body></html>' % url elif path_split[1] == "banned": OpenDb() bans = FetchAll("SELECT * FROM `bans` WHERE INET6_ATON(%s) BETWEEN `ipstart` AND `ipend`", (self.ip,)) |