From 8baaea899f8d1d3ab411c1c5ea88e90e5bec5bf3 Mon Sep 17 00:00:00 2001 From: Maple Nebel Date: Wed, 8 Jul 2026 15:28:08 +0200 Subject: [PATCH] correct user password message --- rnex-core/src/nex/user.rs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/rnex-core/src/nex/user.rs b/rnex-core/src/nex/user.rs index 729e97f..274f7b2 100644 --- a/rnex-core/src/nex/user.rs +++ b/rnex-core/src/nex/user.rs @@ -301,7 +301,7 @@ impl MatchmakeExtension for User { #[cfg(feature = "v3-5-0")] if join_session_param.user_password != session.session.user_password { - return Err(ErrorCode::RendezVous_InvalidPassword); + return Err(ErrorCode::RendezVous_MatchmakeSessionUserPasswordUnmatch); } session @@ -873,12 +873,7 @@ impl Utility for User { } async fn get_integer_settings(&self, index: u32) -> Result, ErrorCode> { - Ok(vec![ - (0, 1), - (1, 2), - (2, 0), - (3, 4) - ]) + Ok(vec![(0, 1), (1, 2), (2, 0), (3, 4)]) } }