diff --git a/src/server.cpp b/src/server.cpp index f5f6645a2..1fea8afe5 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -1810,14 +1810,13 @@ void Server::ProcessData(u8 *data, u32 datasize, u16 peer_id) if(datasize < 2+1+PLAYERNAME_SIZE) return; - verbosestream<<"Server: Got TOSERVER_INIT from " - < 1){ - infostream<<"Server: Not allowing another client to connect in" - <<" simple singleplayer mode"< SERVER_PROTOCOL_VERSION_MAX) { - actionstream<<"Server: A mismatched client tried to connect from "<(m_env->getPlayer(playername)); + if(player && player->peer_id != 0){ + errorstream<<"Server: "<