aboutsummaryrefslogtreecommitdiff
path: root/src/network/serverpackethandler.cpp
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-05-19 00:55:58 +0200
committerest31 <MTest31@outlook.com>2015-05-19 00:55:58 +0200
commit497299afd62e2f9b18dbf2a366bb22996e73102b (patch)
treecce092e215868bd7da54d918623818e53f80e25a /src/network/serverpackethandler.cpp
parentd2ca662569427d36642660314668e416bf68f3c8 (diff)
downloadminetest-497299afd62e2f9b18dbf2a366bb22996e73102b.tar.gz
minetest-497299afd62e2f9b18dbf2a366bb22996e73102b.tar.bz2
minetest-497299afd62e2f9b18dbf2a366bb22996e73102b.zip
Lower log level for unexpected behaviour
Its a possible mistake to log in to a server with twice the same name. Before, it triggered a server wide error message, now it logs to actionstream.
Diffstat (limited to 'src/network/serverpackethandler.cpp')
-rw-r--r--src/network/serverpackethandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/serverpackethandler.cpp b/src/network/serverpackethandler.cpp
index 1eb7064d6..ea1528c64 100644
--- a/src/network/serverpackethandler.cpp
+++ b/src/network/serverpackethandler.cpp
@@ -613,7 +613,7 @@ void Server::handleCommand_Init2(NetworkPacket* pkt)
playersao = StageTwoClientInit(pkt->getPeerId());
if (playersao == NULL) {
- errorstream
+ actionstream
<< "TOSERVER_INIT2 stage 2 client init failed for peer "
<< pkt->getPeerId() << std::endl;
return;
@@ -710,7 +710,7 @@ void Server::handleCommand_ClientReady(NetworkPacket* pkt)
PlayerSAO* playersao = StageTwoClientInit(peer_id);
if (playersao == NULL) {
- errorstream
+ actionstream
<< "TOSERVER_CLIENT_READY stage 2 client init failed for peer_id: "
<< peer_id << std::endl;
m_con.DisconnectPeer(peer_id);