forked from rDrama/rDrama
fix comment refactor bug
parent
ff2ced1911
commit
ce27be1d4a
|
@ -199,7 +199,7 @@ def comment(v:User):
|
||||||
if v.owoify: body_for_sanitize = owoify(body_for_sanitize)
|
if v.owoify: body_for_sanitize = owoify(body_for_sanitize)
|
||||||
if v.marsify: body_for_sanitize = marsify(body_for_sanitize)
|
if v.marsify: body_for_sanitize = marsify(body_for_sanitize)
|
||||||
|
|
||||||
torture = (v.agendaposter and not v.marseyawarded and post_target.sub != 'chudrama' and post_target.id not in ADMIGGER_THREADS)
|
torture = (v.agendaposter and not v.marseyawarded and not (posting_to_submission and post_target.sub == 'chudrama') and post_target.id not in ADMIGGER_THREADS)
|
||||||
body_html = sanitize(body_for_sanitize, limit_pings=5, count_marseys=not v.marsify, torture=torture)
|
body_html = sanitize(body_for_sanitize, limit_pings=5, count_marseys=not v.marsify, torture=torture)
|
||||||
|
|
||||||
if post_target.id not in ADMIGGER_THREADS and '!wordle' not in body.lower() and AGENDAPOSTER_PHRASE not in body.lower():
|
if post_target.id not in ADMIGGER_THREADS and '!wordle' not in body.lower() and AGENDAPOSTER_PHRASE not in body.lower():
|
||||||
|
|
Loading…
Reference in New Issue