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

Merge pull request #199 from LXY1226/md5-on-newclient

perf: no md5 on EmptyClient
This commit is contained in:
Mrs4s 2021-11-20 21:09:51 +08:00 committed by GitHub
commit f5ff7695da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 {