Add client.identifiers;

This commit is contained in:
2023-07-21 02:41:45 +03:00
parent b345588c02
commit 98b4878339
3 changed files with 17 additions and 3 deletions

View File

@@ -56,6 +56,7 @@ class TCPServer:
client.nick = res["username"]
client.roles = res["roles"]
client._guest = res["guest"]
client._identifiers = {k: v for s in res["identifiers"] for k, v in [s.split(':')]}
# noinspection PyProtectedMember
client._update_logger()
except Exception as e: