From 6e7abb00aaa63531f505e19c91e9547006f41917 Mon Sep 17 00:00:00 2001 From: Mrs4s <1844812067@qq.com> Date: Wed, 7 Oct 2020 22:23:22 +0800 Subject: [PATCH] fix typo. --- client/decoders.go | 2 +- client/entities.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/decoders.go b/client/decoders.go index 329c7162..f1a66438 100644 --- a/client/decoders.go +++ b/client/decoders.go @@ -127,7 +127,7 @@ func decodeLoginResponse(c *QQClient, _ uint16, payload []byte) (interface{}, er if t == 162 { return LoginResponse{ - Error: TooManySMSRequestError, + Error: TooManySNSRequestError, }, nil } diff --git a/client/entities.go b/client/entities.go index b796f165..ecb35898 100644 --- a/client/entities.go +++ b/client/entities.go @@ -253,7 +253,7 @@ const ( OtherLoginError LoginError = 3 UnsafeDeviceError LoginError = 4 SNSNeededError LoginError = 5 - TooManySMSRequestError LoginError = 6 + TooManySNSRequestError LoginError = 6 SNSOrVerifyNeededError LoginError = 7 UnknownLoginError LoginError = -1