mirror of
https://github.com/minetest/minetest.git
synced 2024-11-10 01:33:46 +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);
|
||||
}
|
||||
}
|
||||
|
||||
actionstream<<player->getName() <<" joins game. " << std::endl;
|
||||
Address addr = getPeerAddress(player->peer_id);
|
||||
std::string ip_str = addr.serializeString();
|
||||
actionstream<<player->getName() <<" [" << ip_str << "] joins game. " << std::endl;
|
||||
/*
|
||||
Print out action
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user