From ec7aacebaa8d9c7532b1de97e8a9a9feda8651fe Mon Sep 17 00:00:00 2001 From: faketruth Date: Sat, 21 Jan 2012 22:10:05 +0000 Subject: [PATCH] Bug FS#131 http://www.mc-server.org/support/index.php?do=details&task_id=131 should be fixed git-svn-id: http://mc-server.googlecode.com/svn/trunk@166 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cServer.cpp | 1 + 1 file changed, 1 insertion(+) 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; } }