This commit is contained in:
Aevann1 2022-01-06 03:24:03 +02:00
parent acd240f02a
commit ec20085f3e
2 changed files with 5 additions and 1 deletions

View file

@ -348,6 +348,8 @@ class Submission(Base):
def realbody(self, v):
if self.club and not (v and (v.paid_dues or v.id == self.author_id)): return f"<p>{cc} ONLY</p>"
if not body_html: return ""
body = self.body_html
body = censor_slurs(body, v)
@ -375,6 +377,8 @@ class Submission(Base):
def plainbody(self, v):
if self.club and not (v and (v.paid_dues or v.id == self.author_id)): return f"<p>{cc} ONLY</p>"
if not body: return ""
body = self.body
body = censor_slurs(body, v)