mirror of
https://github.com/minetest/minetest.git
synced 2024-12-23 22:52:25 +01:00
When player times out, log the action as a timeout rather than regular quitting
This commit is contained in:
parent
96b2d1fd29
commit
143dce6672
@ -4399,8 +4399,9 @@ void Server::handlePeerChange(PeerChange &c)
|
||||
os<<player->getName()<<" ";
|
||||
}
|
||||
|
||||
actionstream<<player->getName()
|
||||
<<" leaves game. List of players: "
|
||||
actionstream<<player->getName()<<" "
|
||||
<<(c.timeout?"times out.":"leaves game.")
|
||||
<<" List of players: "
|
||||
<<os.str()<<std::endl;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user