1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-17 14:55:13 -05:00

When player times out, log the action as a timeout rather than regular quitting

This commit is contained in:
Perttu Ahola 2011-10-16 19:38:56 +03:00
parent 96b2d1fd29
commit 143dce6672

View File

@ -4399,8 +4399,9 @@ void Server::handlePeerChange(PeerChange &c)
os<<player->getName()<<" "; os<<player->getName()<<" ";
} }
actionstream<<player->getName() actionstream<<player->getName()<<" "
<<" leaves game. List of players: " <<(c.timeout?"times out.":"leaves game.")
<<" List of players: "
<<os.str()<<std::endl; <<os.str()<<std::endl;
} }
} }