don't check if body is empty

master
justcool393 2022-10-20 19:29:20 -05:00
parent 8fe73cb68e
commit 790a569072
1 changed files with 1 additions and 1 deletions

View File

@ -358,7 +358,7 @@ def execute_antispam_submission_check(title, v, url):
return True
def execute_blackjack(v, target, body, type):
if not blackjack: return
if not blackjack or not body: return True
if any(i in body.lower() for i in blackjack.split()):
v.shadowbanned = 'AutoJanny'
if not v.is_banned: v.ban_reason = f"Blackjack"