Add missing identmap-lookup for new clients

This commit is contained in:
Thor77 2017-09-09 18:44:41 +02:00
parent 1c224fa0ee
commit cbc76b5541
1 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,8 @@ class Clients(MutableMapping):
for event in events: for event in events:
# find corresponding client # find corresponding client
client = self.setdefault( client = self.setdefault(
event.identifier, Client(event.identifier) event.identifier,
Client(self.ident_map.get(event.identifier, event.identifier))
) )
if event.action == 'set_nick': if event.action == 'set_nick':
client.nick = event.arg client.nick = event.arg