1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 19:17:38 +08:00

perf: no md5 on EmptyClient

This commit is contained in:
Lin 2021-11-20 19:05:45 +08:00
parent 43b23f4e6f
commit 0cb45e1d20
No known key found for this signature in database
GPG Key ID: 244C608766137C86

View File

@ -187,7 +187,7 @@ func NewClient(uin int64, password string) *QQClient {
} }
func NewClientEmpty() *QQClient { func NewClientEmpty() *QQClient {
return NewClient(0, "") return NewClientMd5(0, [16]byte{})
} }
func NewClientMd5(uin int64, passwordMd5 [16]byte) *QQClient { func NewClientMd5(uin int64, passwordMd5 [16]byte) *QQClient {