aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRitabrata Das <[email protected]>2025-07-01 16:22:36 +0530
committerRitabrata Das <[email protected]>2025-07-01 16:22:36 +0530
commit7bd37c29f0b358b45eba07d155bde012c8edc3b5 (patch)
tree9b1d31f6c9966d53919484e800e237d95611d526
parent59c2f5294e3ba5f418d03d867286caa8b2d346b9 (diff)
fix login triggerhook on 2018 version joindev
-rw-r--r--proxy.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/proxy.py b/proxy.py
index 9073cf0..1ad1cc0 100644
--- a/proxy.py
+++ b/proxy.py
@@ -173,8 +173,7 @@ async def handle_client(client_reader, client_writer):
message_to_client.append(YSchat.message(f"Porting you to YSFlight {YSF_VERSION}, This is currently Experimental"))
message_to_client.append(YSchat.message(f"Please report any bugs to the server admin or join with the correct version"))
data = YSviaversion.genViaVersion(player.username, YSF_VERSION) #TODO: Refactor using the FSNETCMD packet.
- writer.write(data)
- continue
+ data = data
elif packet_type == "FSNETCMD_JOINREQUEST":
decode = FSNETCMD_JOINREQUEST(packet)