This commit is contained in:
Aevann1 2021-08-03 14:20:40 +02:00
parent 15f7338664
commit 686a37192d
4 changed files with 9 additions and 9 deletions

View file

@ -238,7 +238,7 @@ def edit_post(pid, v):
ban = bans[0]
reason = f"Remove the {ban.domain} link from your post and try again."
if ban.reason:
reason += f" {ban.reason_text}"
reason += f" {ban.reason}"
#auto ban for digitally malicious content
if any([x.reason==4 for x in bans]):
@ -727,7 +727,7 @@ def submit_post(v):
ban = bans[0]
reason = f"Remove the {ban.domain} link from your post and try again."
if ban.reason:
reason += f" {ban.reason_text}"
reason += f" {ban.reason}"
#auto ban for digitally malicious content
if any([x.reason==4 for x in bans]):