mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +01:00
Internet: Fix @whois.
This commit is contained in:
parent
6a4750015e
commit
80b4e164ec
@ -100,7 +100,7 @@ class Internet(callbacks.Plugin):
|
||||
pass
|
||||
server = registrar = updated = created = expires = status = ''
|
||||
for line in s.splitlines():
|
||||
line = line.decode('ascii').strip()
|
||||
line = line.decode('utf8').strip()
|
||||
if not line or ':' not in line:
|
||||
continue
|
||||
if not server and any(line.startswith, self._domain):
|
||||
|
Loading…
Reference in New Issue
Block a user