From ab9e9af01d675e463a96ca8ce65ef0262116c137 Mon Sep 17 00:00:00 2001 From: Andrea Toska Date: Mon, 30 Sep 2024 22:19:16 +0200 Subject: [PATCH] fix(secure): ignore first param --- nex/register_common_secure_server_protocols.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nex/register_common_secure_server_protocols.go b/nex/register_common_secure_server_protocols.go index 21d83b5..ed660ca 100644 --- a/nex/register_common_secure_server_protocols.go +++ b/nex/register_common_secure_server_protocols.go @@ -90,7 +90,7 @@ func cleanupMatchmakeSessionSearchCriteriasHandler(searchCriterias *types.List[* func onAfterAutoMatchmakeWithParamPostpone(_ nex.PacketInterface, _ *match_making_types.AutoMatchmakeParam) { globals.MatchmakingManager.Mutex.Lock() - err := globals.MatchmakingManager.Database.Exec(`UPDATE matchmaking.matchmake_sessions SET open_participation=true WHERE game_mode=12`) + _, err := globals.MatchmakingManager.Database.Exec(`UPDATE matchmaking.matchmake_sessions SET open_participation=true WHERE game_mode=12`) if err != nil { globals.Logger.Error(err.Error()) }