From 790a56907256b00fc1eb4d8dadbf57ce2a8465e9 Mon Sep 17 00:00:00 2001 From: justcool393 Date: Thu, 20 Oct 2022 19:29:20 -0500 Subject: [PATCH] don't check if body is empty --- files/helpers/actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/actions.py b/files/helpers/actions.py index 2a99224a7..018f4b591 100644 --- a/files/helpers/actions.py +++ b/files/helpers/actions.py @@ -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"