Fix version set.

This commit is contained in:
Andreas 2013-02-08 19:42:46 +01:00
parent 0c7354dba6
commit 28632cdb37
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ void RemoteClient::DisconnectClientWrongAuthCode() {
msg.set_type(pb::remote::DISCONNECT);
// 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);
SendData(&msg);