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

fix panic.

This commit is contained in:
Mrs4s 2020-10-09 09:42:58 +08:00
parent 278764a0be
commit 9c140ff469

View File

@ -159,7 +159,7 @@ func decodeLoginResponse(c *QQClient, _ uint16, payload []byte) (interface{}, er
}, nil
}
return nil, nil // ?
return nil, errors.New(fmt.Sprintf("unknown login response: %v", t)) // ?
}
// StatSvc.register