mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-08 17:20:11 +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 -> {
|
||||
withContext(userContext) {
|
||||
socket.close()
|
||||
socket = BotSocketAdapter(packet.serverIP!!)
|
||||
bot.logger.info("Redirecting to ${packet.serverIP}")
|
||||
socket = BotSocketAdapter(packet.serverIP!!)
|
||||
loginResult.complete(socket.resendTouch())
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user