1
0
mirror of https://github.com/mamoe/mirai.git synced 2025-03-26 07:20:09 +08:00

Simplify expression

This commit is contained in:
Him188 2020-03-07 12:45:34 +08:00
parent fea2acbb85
commit dba3cb5707

View File

@ -355,7 +355,7 @@ internal class WtLogin {
val otherInfo: String = readUShortLVString()
LoginPacketResponse.Error(title, content, otherInfo)
} ?: tlvMap[0x146]?.toReadPacket()?.run {
} ?: tlvMap[0x146]?.read {
discardExact(2) // ver
discardExact(2) // code