From 54e21ef55224184d563de6a3d7309e57138d8545 Mon Sep 17 00:00:00 2001 From: pLuS Date: Sat, 25 May 2024 19:41:00 -0300 Subject: [PATCH] Fix Server Kick Se aplicaron cambios en los parametros de la definicion Kick --- Codigo/modNetwork.bas | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Codigo/modNetwork.bas b/Codigo/modNetwork.bas index 2fee5ff5..d18ca15c 100644 --- a/Codigo/modNetwork.bas +++ b/Codigo/modNetwork.bas @@ -118,7 +118,7 @@ On Error GoTo Kick_ErrHandler: End If Call Server.Flush(Connection) - Call Server.Kick(Connection) + Call Server.Kick(Connection, True) Exit Sub Kick_ErrHandler: @@ -259,7 +259,7 @@ On Error GoTo ForcedClose_Err: 100 UserList(UserIndex).ConnectionDetails.ConnIDValida = False 102 UserList(UserIndex).ConnectionDetails.ConnID = 0 104 Call Server.Flush(Connection) -106 Call Server.Kick(Connection) +106 Call Server.Kick(Connection, True) 108 Call ClearUserRef(Mapping(Connection).UserRef) 110 Call IncreaseVersionId(userIndex) Exit Sub @@ -270,7 +270,7 @@ End Sub Public Sub KickConnection(Connection As Long) On Error GoTo ForcedClose_Err: 104 Call Server.Flush(Connection) -106 Call Server.Kick(Connection) +106 Call Server.Kick(Connection, True) 108 Call ClearConnection(Connection) 110 If PendingConnections.Exists(Connection) Then 112 Call PendingConnections.Remove(Connection)