mirror of
https://github.com/Thor77/TeamspeakStats.git
synced 2025-07-09 08:58:41 -04:00
Fix Clients.__add__ not using identmap
This commit is contained in:
parent
a4c04e34c8
commit
f209573d04
1 changed files with 2 additions and 1 deletions
|
@ -32,7 +32,8 @@ class Clients(MutableMapping):
|
||||||
:param client: Client to add to the collection
|
:param client: Client to add to the collection
|
||||||
:type id_or_uid: Client
|
:type id_or_uid: Client
|
||||||
'''
|
'''
|
||||||
self.store[client.identifier] = client
|
identifier = client.identifier
|
||||||
|
self.store[self.ident_map.get(identifier, identifier)] = client
|
||||||
return self
|
return self
|
||||||
|
|
||||||
def __iter__(self):
|
def __iter__(self):
|
||||||
|
|
Loading…
Add table
Reference in a new issue