Fix missing ctx which doesn't actually cause any problems

This commit is contained in:
NGnius (Graham) committed 2025-03-08 19:27:09 -05:00
1 parent be37f8913a
commit 303f72f010
1 file changed
+1 -1
+1 -1
View File
@@ -178,7 +178,7 @@ async fn do_connect_handshake(
} }
}; };
while let Packet::Ping(ping) = packet3 { while let Packet::Ping(ping) = packet3 {
polariton_server::utils::handle_ping_async(ping, socket, &Default::default()).await.unwrap_or_default(); polariton_server::utils::handle_ping_async(ping, socket, &ctx).await.unwrap_or_default();
packet3 = match polariton_server::utils::receive_packet_async(socket, &ctx).await { packet3 = match polariton_server::utils::receive_packet_async(socket, &ctx).await {
Ok(x) => x, Ok(x) => x,
Err(e) => { Err(e) => {