Archived
1
0
Fork 0

Update __init__.py

This commit is contained in:
多羅狼 2023-08-24 13:38:41 +08:00 committed by GitHub
parent 8b9f5e02d8
commit 994be5b727
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,6 +57,9 @@ async def get_whois(msg, domain):
if not domain_name:
await msg.finish(msg.locale.t("whois.message.get_failed"))
if whois_server:
whois_server = whois_server.lower()
if name_servers:
name_servers_list = list(set([i.lower() for i in name_servers]))
else: