Remove obfuscated auto-shadowban on keyword.

This commit is contained in:
TLSM 2022-09-05 04:47:30 -04:00 committed by Ben Rog-Wilhelm
parent 70c8a942b6
commit 1d705588d4
4 changed files with 0 additions and 38 deletions

View file

@ -949,11 +949,6 @@ def submit_post(v, sub=None):
g.db.add(post)
g.db.flush()
if blackjack and any(i in f'{post.body} {post.title} {post.url}'.lower() for i in blackjack.split()):
v.shadowbanned = 'AutoJanny'
g.db.add(v)
send_repeatable_notification(CARP_ID, post.permalink)
vote = Vote(user_id=v.id,
vote_type=1,
submission_id=post.id