mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-28 13:42:36 +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:
|
||||
irc.error(str(e))
|
||||
return
|
||||
if usertld == 'com':
|
||||
t.write('=')
|
||||
t.write(domain.encode('ascii'))
|
||||
t.write(b'\r\n')
|
||||
s = t.read_all()
|
||||
|
Loading…
Reference in New Issue
Block a user