mirror of
https://github.com/Thor77/TeamspeakStats.git
synced 2025-07-06 23:48:42 -04:00
Add missing identmap-lookup for new clients
This commit is contained in:
parent
1c224fa0ee
commit
cbc76b5541
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue