Skip to content

Commit

Permalink
Merge pull request Mrs4s#199 from LXY1226/md5-on-newclient
Browse files Browse the repository at this point in the history
perf: no md5 on EmptyClient
  • Loading branch information
Mrs4s authored Nov 20, 2021
2 parents 97dcddb + 0cb45e1 commit f5ff769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ func NewClient(uin int64, password string) *QQClient {
}

func NewClientEmpty() *QQClient {
return NewClient(0, "")
return NewClientMd5(0, [16]byte{})
}

func NewClientMd5(uin int64, passwordMd5 [16]byte) *QQClient {
Expand Down

0 comments on commit f5ff769

Please sign in to comment.