Use actionstream instead of errorstream when failing to emerge player

This commit is contained in:
Craig Davison 2015-06-23 15:46:35 +01:00 committed by est31
parent 6f8bdda90e
commit bc55ef337c

@ -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 "