diff --git a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/network/protocol/tim/TIMBotNetworkHandler.kt b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/network/protocol/tim/TIMBotNetworkHandler.kt index a93f0f342..9bde0aee8 100644 --- a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/network/protocol/tim/TIMBotNetworkHandler.kt +++ b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/network/protocol/tim/TIMBotNetworkHandler.kt @@ -381,8 +381,8 @@ internal class TIMBotNetworkHandler internal constructor(coroutineContext: Corou is TouchPacket.TouchResponse.Redirection -> { withContext(userContext) { socket.close() - socket = BotSocketAdapter(packet.serverIP!!) bot.logger.info("Redirecting to ${packet.serverIP}") + socket = BotSocketAdapter(packet.serverIP!!) loginResult.complete(socket.resendTouch()) } }