Fix version set.
This commit is contained in:
parent
0c7354dba6
commit
28632cdb37
|
@ -99,7 +99,7 @@ void RemoteClient::DisconnectClientWrongAuthCode() {
|
||||||
msg.set_type(pb::remote::DISCONNECT);
|
msg.set_type(pb::remote::DISCONNECT);
|
||||||
|
|
||||||
// Send the default version
|
// Send the default version
|
||||||
msg->set_version(msg->default_instance().version());
|
msg.set_version(msg.default_instance().version());
|
||||||
|
|
||||||
msg.mutable_response_disconnect()->set_reason_disconnect(pb::remote::Wrong_Auth_Code);
|
msg.mutable_response_disconnect()->set_reason_disconnect(pb::remote::Wrong_Auth_Code);
|
||||||
SendData(&msg);
|
SendData(&msg);
|
||||||
|
|
Loading…
Reference in New Issue