mirror of
https://github.com/mgeeky/decode-spam-headers.git
synced 2024-11-24 19:41:37 +01:00
Merge pull request #2 from ScriptIdiot/patch-1
Update decode-spam-headers.py
This commit is contained in:
commit
71a97db7a1
@ -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 ''
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user