Rmoeve unnecessary type convert (#134)

This commit is contained in:
ZhangJian He
2022-01-05 11:15:26 +08:00
committed by GitHub
parent 8d486c3a20
commit 878e7fce3f
3 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ func (this *Session) Init(msg *packets.ConnectPacket) error {
this.topics = make(map[string]byte, 1)
this.id = string(msg.ClientIdentifier)
this.id = msg.ClientIdentifier
this.initted = true