Fix a bug with an uninitialized variable
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user