@ -65,7 +65,8 @@ ServerExtendedData getExtendedData(const char *addr, unsigned short port)
RakNet::RakPeerInterface *peer = RakNet::RakPeerInterface::GetInstance();
peer->Startup(1, &socketDescriptor, 1);
stringstream sstr(TES3MP_VERSION);
stringstream sstr;
sstr << TES3MP_VERSION;
sstr << TES3MP_PROTO_VERSION;
std::string msg = "";
@ -251,9 +251,11 @@ int main(int argc, char *argv[])
sstr << version.mCommitHash;
cout << sstr.str() << endl;
peer->SetIncomingPassword(sstr.str().c_str(), (int) sstr.str().size());
@ -249,7 +249,8 @@ void Networking::connect(const std::string &ip, unsigned short port, std::vector
master.SetPortHostOrder(port);
std::string errmsg = "";
sstr << Version::getOpenmwVersion(Main::getResDir()).mCommitHash;