forked from MarseyWorld/MarseyWorld
extend distinguish immunity to chudding
parent
104ab7e824
commit
3f062fcf44
|
@ -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)
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue