[~] 0.4.5 > 0.4.6

[+] Recreate config (if empty)
[+] Hidden config
[!] FIX rl
[!] Update getting loop
[-] core_player_set_id
[~] Update copyrights
[~] Minor
This commit is contained in:
2024-07-16 17:18:49 +03:00
parent 2eb7e8801b
commit a923dbea1f
13 changed files with 136 additions and 103 deletions

View File

@@ -94,9 +94,8 @@ class TCPServer:
await client.kick(i18n.core_player_kick_server_full)
return False, client
else:
self.log.info(i18n.core_identifying_okay)
await self.Core.insert_client(client)
client.log.info(i18n.core_player_set_id.format(client.pid))
client.log.info(i18n.core_identifying_okay)
return True, client
@@ -137,7 +136,8 @@ class TCPServer:
try:
ip = writer.get_extra_info('peername')[0]
if self.rl.is_banned(ip):
self.rl.notify(ip, writer)
await self.rl.notify(ip, writer)
writer.close()
break
data = await reader.read(1)
if not data: