Merge pull request #256 from cm0x4D/master

Using client parameter in function CtConnect
This commit is contained in:
Daiyuu Nobori authored and GitHub committed 2017-10-18 16:36:24 +09:00
commit b61882598f
2 files changed
+12 -9

No files matched your search

+1 -1
View File
@@ -6663,7 +6663,7 @@ bool CtConnect(CLIENT *c, RPC_CLIENT_CONNECT *connect)
CiSetError(c, ERR_ACCOUNT_ACTIVE);
}
else if (r->ClientAuth->AuthType == CLIENT_AUTHTYPE_SECURE &&
client->UseSecureDeviceId == 0)
c->UseSecureDeviceId == 0)
{
// Secure device is not specified
CiSetError(c, ERR_NO_SECURE_DEVICE_SPECIFIED);