From: Kahrl Date: Fri, 17 Jul 2015 06:51:07 +0000 (+0200) Subject: Display an access denied message when client detects a server timeout X-Git-Tag: 0.4.13~112 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9c76f379acb12246fb1e282661e67b9da4cdcb62;p=oweals%2Fminetest.git Display an access denied message when client detects a server timeout --- diff --git a/src/client.cpp b/src/client.cpp index 66aac6229..1bd8c39ae 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -743,14 +743,19 @@ bool Client::loadMedia(const std::string &data, const std::string &filename) // Virtual methods from con::PeerHandler void Client::peerAdded(con::Peer *peer) { - infostream<<"Client::peerAdded(): peer->id=" - <id<id=" + << peer->id << std::endl; } void Client::deletingPeer(con::Peer *peer, bool timeout) { - infostream<<"Client::deletingPeer(): " + infostream << "Client::deletingPeer(): " "Server Peer is getting deleted " - <<"(timeout="<