Rmoeve unnecessary type convert (#134)

This commit is contained in:
ZhangJian He authored and GitHub committed 2022-01-05 11:15:26 +08:00
1 parent 8d486c3a20
commit 878e7fce3f
3 files changed
+6 -7

No files matched your search

+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