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
This commit is contained in:
parent
7b840aa5d8
commit
ec7aacebaa
@ -219,6 +219,7 @@ bool cServer::InitServer( int a_Port )
|
|||||||
sid << std::hex << r1;
|
sid << std::hex << r1;
|
||||||
sid << std::hex << r2;
|
sid << std::hex << r2;
|
||||||
std::string ServerID = sid.str();
|
std::string ServerID = sid.str();
|
||||||
|
ServerID.resize(16, '0');
|
||||||
m_pState->ServerID = ServerID;
|
m_pState->ServerID = ServerID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user