remotes/1693045480750635534/spooky-22
Aevann1 2021-10-27 03:08:14 +02:00
parent e526211cca
commit 01978d49c0
1 changed files with 2 additions and 2 deletions

View File

@ -215,7 +215,7 @@ def edit_post(pid, v):
body = request.values.get("body", "").strip()
if v.marseyawarded:
title = list(re.finditer("^(:!?m\w+:\s*)+$", body))
title = list(re.finditer("^(:!?m\w+:\s*)+$", title))
if len(marregex) == 0: return {"error":"You need to only type marseys!"}, 403
if body:
marregex = list(re.finditer("^(:!?m\w+:\s*)+$", body))
@ -570,7 +570,7 @@ def submit_post(v):
body = request.values.get("body", "").strip()
if v.marseyawarded:
title = list(re.finditer("^(:!?m\w+:\s*)+$", body))
title = list(re.finditer("^(:!?m\w+:\s*)+$", title))
if len(marregex) == 0: return {"error":"You need to only type marseys!"}, 403
if body:
marregex = list(re.finditer("^(:!?m\w+:\s*)+$", body))