Add missing identmap-lookup for new clients
This commit is contained in:
parent
1c224fa0ee
commit
cbc76b5541
|
@ -32,7 +32,8 @@ class Clients(MutableMapping):
|
|||
for event in events:
|
||||
# find corresponding client
|
||||
client = self.setdefault(
|
||||
event.identifier, Client(event.identifier)
|
||||
event.identifier,
|
||||
Client(self.ident_map.get(event.identifier, event.identifier))
|
||||
)
|
||||
if event.action == 'set_nick':
|
||||
client.nick = event.arg
|
||||
|
|
Loading…
Reference in New Issue