mirror of
https://github.com/kuitoi/kuitoi-Server.git
synced 2025-08-17 08:15:42 +00:00
Minor fixes
This commit is contained in:
parent
4974d48411
commit
580b836e39
@ -85,7 +85,7 @@ class Core:
|
||||
for client in self.clients:
|
||||
if not client:
|
||||
continue
|
||||
out += f"{client._nick}"
|
||||
out += f"{client.nick}"
|
||||
if need_cid:
|
||||
out += f":{client.cid}"
|
||||
out += ","
|
||||
|
@ -52,8 +52,8 @@ class TCPServer:
|
||||
# TODO: i18n
|
||||
await client.kick('Invalid key! Please restart your game.')
|
||||
return False, client
|
||||
client._nick = res["username"]
|
||||
client._roles = res["roles"]
|
||||
client.nick = res["username"]
|
||||
client.roles = res["roles"]
|
||||
client._guest = res["guest"]
|
||||
# noinspection PyProtectedMember
|
||||
client._update_logger()
|
||||
|
Loading…
x
Reference in New Issue
Block a user