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-Tag: 0.3.dev-20111021~43 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=143dce6672972a864a427f34f6513e5faeeaeb48;p=oweals%2Fminetest.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 33c3b59b3..3e22a023a 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: " <