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