Merge pull request #2 from ScriptIdiot/patch-1

Update decode-spam-headers.py
This commit is contained in:
Mariusz Banach authored and GitHub committed 2021-11-21 10:26:48 -04:00
commit 71a97db7a1
1 file changed
+1 -1
+1 -1
View File
@@ -1813,7 +1813,7 @@ class SMTPHeadersAnalysis:
@staticmethod
def gethostbyname(name, important = True):
name = name.lower()
name = name.lower()
if not important or options['dont_resolve'] or len(name) == 0:
return ''