mirror of
https://github.com/minetest/minetest.git
synced 2024-11-14 03:33:44 +01:00
Add missing ip address to player join log entry
This commit is contained in:
parent
f20267862f
commit
555dc86343
@ -1280,8 +1280,9 @@ PlayerSAO* Server::StageTwoClientInit(u16 peer_id)
|
|||||||
SendChatMessage(PEER_ID_INEXISTENT,message);
|
SendChatMessage(PEER_ID_INEXISTENT,message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Address addr = getPeerAddress(player->peer_id);
|
||||||
actionstream<<player->getName() <<" joins game. " << std::endl;
|
std::string ip_str = addr.serializeString();
|
||||||
|
actionstream<<player->getName() <<" [" << ip_str << "] joins game. " << std::endl;
|
||||||
/*
|
/*
|
||||||
Print out action
|
Print out action
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user