Use actionstream instead of errorstream when failing to emerge player
authorCraig Davison <craig.davison3@gmail.com>
Tue, 23 Jun 2015 14:46:35 +0000 (15:46 +0100)
committerest31 <MTest31@outlook.com>
Tue, 23 Jun 2015 17:25:06 +0000 (19:25 +0200)
src/network/serverpackethandler.cpp

index 4633aba8627e9c02448dcef316c33da5672b1ada..0a6ef4fa85f0837a0cdc6f086d36a10c56f82877 100644 (file)
@@ -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 "