fix marsey count

master
Aevann1 2022-09-14 14:47:16 +02:00
parent d14612c7f0
commit 7ef876635b
1 changed files with 2 additions and 2 deletions

View File

@ -252,7 +252,7 @@ def comment(v):
torture = (v.agendaposter and not v.marseyawarded and parent_post.sub != 'chudrama' and parent_post.id not in ADMIGGERS)
body_html = sanitize(body_for_sanitize, limit_pings=5, marsified=True, torture=torture)
body_html = sanitize(body_for_sanitize, limit_pings=5, marsified=v.marsify, torture=torture)
if parent_post.id not in ADMIGGERS and '!wordle' not in body.lower() and AGENDAPOSTER_PHRASE not in body.lower():
@ -677,7 +677,7 @@ def edit_comment(cid, v):
torture = (v.agendaposter and not v.marseyawarded and c.post.sub != 'chudrama')
body_html = sanitize(body_for_sanitize, edit=True, limit_pings=5, marsified=True, torture=torture)
body_html = sanitize(body_for_sanitize, edit=True, limit_pings=5, marsified=v.marsify, torture=torture)
if len(body_html) > 20000: abort(400)