From a03d30c5589031efa9bd983013645c6bb129d78f Mon Sep 17 00:00:00 2001 From: Him188 Date: Tue, 28 Jan 2020 21:57:20 +0800 Subject: [PATCH] Remove redundant call --- .../qqandroid/network/protocol/packet/OutgoingPacketAndroid.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/OutgoingPacketAndroid.kt b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/OutgoingPacketAndroid.kt index b184d988d..e6dfda0d3 100644 --- a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/OutgoingPacketAndroid.kt +++ b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/OutgoingPacketAndroid.kt @@ -26,7 +26,7 @@ internal class OutgoingPacket constructor( val delegate: ByteReadPacket ) { val name: String by lazy { - name ?: commandName.toString() + name ?: commandName } }