Internet: override reply.oneToOne and always send IPs in one message (there are potentially a lot of them).

This commit is contained in:
Valentin Lorentz 2014-07-23 19:47:42 +02:00
parent 37ce57efbd
commit 7e84b534cc

View File

@ -64,7 +64,7 @@ class Internet(callbacks.Plugin):
if ip not in unique_ips:
ordered_unique_ips.append(ip)
unique_ips.add(ip)
irc.replies(ordered_unique_ips)
irc.reply(format('%L', ordered_unique_ips))
except socket.error:
irc.reply(_('Host not found.'))
dns = wrap(dns, ['something'])