master
Aevann1 2021-08-22 21:33:06 +02:00
parent 521e9e38bd
commit 60d4b3a356
1 changed files with 3 additions and 0 deletions

View File

@ -884,6 +884,9 @@ def submit_post(v):
g.db.add(c)
g.db.flush()
new_post.comment_count = g.db.query(Comment).filter_by(parent_submission=new_post.id).count()
g.db.add(new_post)
if "rdrama" in request.host:
if v.id == 995: body = "fuck off carp"
else: body = random.choice(snappyquotes)