diff --git a/files/routes/posts.py b/files/routes/posts.py index 1f3cfdcdb..9c788cb57 100755 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -214,6 +214,8 @@ def edit_post(pid, v): title = request.values.get("title", "").strip() body = request.values.get("body", "").strip() + if len(body) > 10000: return {"error":"Character limit is 10000!"}, 403 + if v.marseyawarded: if time.time() > v.marseyawarded: v.marseyawarded = None diff --git a/files/templates/admin/rules.html b/files/templates/admin/rules.html index 3b13ec662..c58b4f0ac 100755 --- a/files/templates/admin/rules.html +++ b/files/templates/admin/rules.html @@ -16,7 +16,7 @@