From 511a1836bb451db253ff43e99e5da9da33fb53aa Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 9 May 2019 11:31:58 +0100 Subject: Only split NAMES reply at literal space, .split() is overzealous --- modules/line_handler/channel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/line_handler/channel.py') diff --git a/modules/line_handler/channel.py b/modules/line_handler/channel.py index ad8edf71..6976fcc1 100644 --- a/modules/line_handler/channel.py +++ b/modules/line_handler/channel.py @@ -29,7 +29,7 @@ def handle_333(events, event): def handle_353(event): channel = event["server"].channels.get(event["args"][2]) - nicknames = event["args"].get(3).split() + nicknames = event["args"].get(3).split(" ") for nickname in nicknames: modes = set([]) -- cgit v1.3.1-10-gc9f91