extend distinguish immunity to chudding

master
Aevann 2024-10-19 07:31:12 +03:00
parent 104ab7e824
commit 3f062fcf44
2 changed files with 2 additions and 2 deletions

View File

@ -272,7 +272,7 @@ def comment(v):
if c.level == 1: c.top_comment_id = c.id
else: c.top_comment_id = parent.top_comment_id
if not complies_with_chud(c):
if not c.distinguished and not complies_with_chud(c):
c.is_banned = True
c.ban_reason = "AutoJanny for lack of chud phrase"
g.db.add(c)

View File

@ -690,7 +690,7 @@ def submit_post(v, hole=None):
else:
stop(415)
if not p.draft and not complies_with_chud(p):
if not p.distinguished and not p.draft and not complies_with_chud(p):
p.is_banned = True
p.ban_reason = "AutoJanny for lack of chud phrase"