Only split NAMES reply at literal space, .split() is overzealous

This commit is contained in:
jesopo 2019-05-09 11:31:58 +01:00
parent f7eae1a978
commit 511a1836bb

View file

@ -29,7 +29,7 @@ def handle_333(events, event):
def handle_353(event): def handle_353(event):
channel = event["server"].channels.get(event["args"][2]) channel = event["server"].channels.get(event["args"][2])
nicknames = event["args"].get(3).split() nicknames = event["args"].get(3).split(" ")
for nickname in nicknames: for nickname in nicknames:
modes = set([]) modes = set([])