1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

Switch more stuff to use the logging thing and fix segfault on player leave from server as introduced in a previous switch-to-logging commit

This commit is contained in:
Perttu Ahola 2011-10-16 16:28:12 +03:00
parent 67a6bc4ab5
commit 0bf533f753
3 changed files with 13 additions and 10 deletions

View file

@ -4377,6 +4377,7 @@ void Server::handlePeerChange(PeerChange &c)
/*
Print out action
*/
if(player != NULL)
{
std::ostringstream os(std::ios_base::binary);
for(core::map<u16, RemoteClient*>::Iterator