diff --git a/source/cServer.cpp b/source/cServer.cpp index dc4b5b5c9..8d4f9ea16 100644 --- a/source/cServer.cpp +++ b/source/cServer.cpp @@ -219,6 +219,7 @@ bool cServer::InitServer( int a_Port ) sid << std::hex << r1; sid << std::hex << r2; std::string ServerID = sid.str(); + ServerID.resize(16, '0'); m_pState->ServerID = ServerID; } }