From 7e84b534cca992d8ff718badb2cde3cf9423b89b Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Wed, 23 Jul 2014 19:47:42 +0200 Subject: [PATCH] Internet: override reply.oneToOne and always send IPs in one message (there are potentially a lot of them). --- plugins/Internet/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Internet/plugin.py b/plugins/Internet/plugin.py index bcdbd4a3d..f86cd24dd 100644 --- a/plugins/Internet/plugin.py +++ b/plugins/Internet/plugin.py @@ -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'])