From 1da5f09bc8971ae8e0b310a7c635f49ee1ac20a4 Mon Sep 17 00:00:00 2001 From: Maple Nebel Date: Sat, 30 May 2026 19:35:05 +0200 Subject: [PATCH] remove accidentally writing vim action into file --- rnex-core/src/nex/matchmake.rs | 2 +- rnex-core/src/nex/user.rs | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/rnex-core/src/nex/matchmake.rs b/rnex-core/src/nex/matchmake.rs index 8e825fc..45e0aba 100644 --- a/rnex-core/src/nex/matchmake.rs +++ b/rnex-core/src/nex/matchmake.rs @@ -409,7 +409,7 @@ impl ExtendedMatchmakeSession { }) { return Ok(false); } - if !search_criteria.attribs.get(2).is_some_and(|s: w| { + if !search_criteria.attribs.get(2).is_some_and(|s| { self.session .attributes .get(2) diff --git a/rnex-core/src/nex/user.rs b/rnex-core/src/nex/user.rs index 51e77a5..4ab0a7b 100644 --- a/rnex-core/src/nex/user.rs +++ b/rnex-core/src/nex/user.rs @@ -149,7 +149,9 @@ impl Secure for User { url.options.iter().any(|o| o == target_addr) && url.options.iter().any(|o| o == target_port) }) else { - return Err(ErrorCode::Core_InvalidArgument); + //return Err(ErrorCode::Core_InvalidArgument); + //probably internal ip + return Ok(()); }; *replacement_target = dest;