mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-02 16:09:24 +01:00
Internet: Fix whois on .com domains (if too many domains matched).
This commit is contained in:
parent
dd74982969
commit
10197b9956
@ -83,6 +83,8 @@ class Internet(callbacks.Plugin):
|
|||||||
except socket.error, e:
|
except socket.error, e:
|
||||||
irc.error(str(e))
|
irc.error(str(e))
|
||||||
return
|
return
|
||||||
|
if usertld == 'com':
|
||||||
|
t.write('=')
|
||||||
t.write(domain.encode('ascii'))
|
t.write(domain.encode('ascii'))
|
||||||
t.write(b'\r\n')
|
t.write(b'\r\n')
|
||||||
s = t.read_all()
|
s = t.read_all()
|
||||||
|
Loading…
Reference in New Issue
Block a user