summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/cServer.cpp1
1 files changed, 1 insertions, 0 deletions
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;
}
}