From: Perttu Ahola Date: Sun, 16 Oct 2011 16:38:56 +0000 (+0300) Subject: When player times out, log the action as a timeout rather than regular quitting X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=143dce6672972a864a427f34f6513e5faeeaeb48;p=zefram%2Fminetest%2Fminetest_engine.git When player times out, log the action as a timeout rather than regular quitting --- diff --git a/src/server.cpp b/src/server.cpp index 33c3b59b..3e22a023 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -4399,8 +4399,9 @@ void Server::handlePeerChange(PeerChange &c) os<getName()<<" "; } - actionstream<getName() - <<" leaves game. List of players: " + actionstream<getName()<<" " + <<(c.timeout?"times out.":"leaves game.") + <<" List of players: " <