fdfd
This commit is contained in:
parent
15f7338664
commit
686a37192d
4 changed files with 9 additions and 9 deletions
|
@ -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]):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue