aboutsummaryrefslogtreecommitdiff
path: root/src/network/serverpackethandler.cpp
diff options
context:
space:
mode:
authorCraig Davison <craig.davison3@gmail.com>2015-06-23 15:46:35 +0100
committerest31 <MTest31@outlook.com>2015-06-23 19:25:06 +0200
commitbc55ef337cc83a5c31d4fdafba352a7a26921900 (patch)
treeb6654bb7defb748aad7f7580fdedfac7ba4224b5 /src/network/serverpackethandler.cpp
parent6f8bdda90edce0b156ca8df25dea25cc6d7ad49c (diff)
downloadminetest-bc55ef337cc83a5c31d4fdafba352a7a26921900.tar.gz
minetest-bc55ef337cc83a5c31d4fdafba352a7a26921900.tar.bz2
minetest-bc55ef337cc83a5c31d4fdafba352a7a26921900.zip
Use actionstream instead of errorstream when failing to emerge player
Diffstat (limited to 'src/network/serverpackethandler.cpp')
-rw-r--r--src/network/serverpackethandler.cpp2
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 "