Fix a bug with an uninitialized variable

This commit is contained in:
Stacy Brock
2021-04-14 16:25:01 -07:00
parent 6af6eed48d
commit 27986cec22

View File

@@ -151,6 +151,7 @@ def filter_message(self, message):
headers.append(h)
# junk messages from blocked domains
is_spam = False
for domain in BLOCK_DOMAINS:
if domain in normalized_from:
is_spam = True