diff options
author | Craig Davison <craig.davison3@gmail.com> | 2015-06-23 15:46:35 +0100 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-06-23 19:25:06 +0200 |
commit | bc55ef337cc83a5c31d4fdafba352a7a26921900 (patch) | |
tree | b6654bb7defb748aad7f7580fdedfac7ba4224b5 | |
parent | 6f8bdda90edce0b156ca8df25dea25cc6d7ad49c (diff) | |
download | minetest-bc55ef337cc83a5c31d4fdafba352a7a26921900.tar.gz minetest-bc55ef337cc83a5c31d4fdafba352a7a26921900.tar.bz2 minetest-bc55ef337cc83a5c31d4fdafba352a7a26921900.zip |
Use actionstream instead of errorstream when failing to emerge player
-rw-r--r-- | src/network/serverpackethandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/serverpackethandler.cpp b/src/network/serverpackethandler.cpp index 4633aba86..0a6ef4fa8 100644 --- a/src/network/serverpackethandler.cpp +++ b/src/network/serverpackethandler.cpp @@ -576,7 +576,7 @@ void Server::handleCommand_Init_Legacy(NetworkPacket* pkt) static_cast<RemotePlayer*>(m_env->getPlayer(playername)); if (player && player->peer_id != 0) { - errorstream << "Server: " << playername << ": Failed to emerge player" + actionstream << "Server: " << playername << ": Failed to emerge player" << " (player allocated to an another client)" << std::endl; DenyAccess_Legacy(pkt->getPeerId(), L"Another client is connected with this " L"name. If your client closed unexpectedly, try again in " |