This commit is contained in:
Aevann1 2021-07-26 02:05:15 +02:00
parent a304261ebe
commit c4d99fb898
2 changed files with 2 additions and 2 deletions

View file

@ -232,7 +232,7 @@ def post_base36id(pid, anything=None, v=None):
g.db.add(post)
g.db.commit()
if post.over_18 and not (v and v.over_18) and not session_over18(1):
if post.over_18 and not (v and v.over_18) and not session_over18():
t = int(time.time())
return {"html":lambda:render_template("errors/nsfw.html",
v=v,