From 0cb45e1d20852a1d7278d425fea22ed212bb4269 Mon Sep 17 00:00:00 2001 From: Lin <767763591@qq.com> Date: Sat, 20 Nov 2021 19:05:45 +0800 Subject: [PATCH] perf: no md5 on EmptyClient --- client/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client.go b/client/client.go index 6e54fbc4..39f26966 100644 --- a/client/client.go +++ b/client/client.go @@ -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 {