fix dump read packet error

This commit is contained in:
MeexReay 2025-05-05 04:39:18 +03:00
parent 94bf69d420
commit 8a15d6748f

View File

@ -251,9 +251,9 @@ impl ClientContext {
}; };
if ids.contains(&packet.id()) { if ids.contains(&packet.id()) {
Err(ServerError::UnexpectedPacket(packet.id()))
} else {
Ok(packet) Ok(packet)
} else {
Err(ServerError::UnexpectedPacket(packet.id()))
} }
} }
} }