mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-09 18:00:33 +08:00
Log before do something
This commit is contained in:
parent
8c9c870cf3
commit
618b5f8032
@ -381,8 +381,8 @@ internal class TIMBotNetworkHandler internal constructor(coroutineContext: Corou
|
|||||||
is TouchPacket.TouchResponse.Redirection -> {
|
is TouchPacket.TouchResponse.Redirection -> {
|
||||||
withContext(userContext) {
|
withContext(userContext) {
|
||||||
socket.close()
|
socket.close()
|
||||||
socket = BotSocketAdapter(packet.serverIP!!)
|
|
||||||
bot.logger.info("Redirecting to ${packet.serverIP}")
|
bot.logger.info("Redirecting to ${packet.serverIP}")
|
||||||
|
socket = BotSocketAdapter(packet.serverIP!!)
|
||||||
loginResult.complete(socket.resendTouch())
|
loginResult.complete(socket.resendTouch())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user