From 6694585434a1a604fa04d0501545235dccae7ffb Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 9 Nov 2022 21:19:29 +0200 Subject: [PATCH] make ghost threads free again --- files/routes/posts.py | 2 +- files/templates/submit.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index 6b2ff4484d..77110e07dc 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -770,7 +770,7 @@ def submit_post(v, sub=None): if embed and len(embed) > 1500: embed = None - ghost = request.values.get("ghost") and v.charge_account('coins', 100) + ghost = request.values.get("ghost") if embed: embed = embed.strip() diff --git a/files/templates/submit.html b/files/templates/submit.html index e60cf276f3..b7d8ec306a 100644 --- a/files/templates/submit.html +++ b/files/templates/submit.html @@ -116,8 +116,8 @@ {%- endif %}
- - + +