From: sapier Date: Sun, 29 Jun 2014 15:55:21 +0000 (+0200) Subject: Don't spam server console on player/playersao error but just drop the affected client X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=ff36071d93266c1dd18708f8924d80aa1af5b33e;p=zefram%2Fminetest%2Fminetest_engine.git Don't spam server console on player/playersao error but just drop the affected client --- diff --git a/src/server.cpp b/src/server.cpp index 122ea993..1223136b 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -1789,18 +1789,20 @@ void Server::ProcessData(u8 *data, u32 datasize, u16 peer_id) } Player *player = m_env->getPlayer(peer_id); - if(player == NULL){ + if(player == NULL) { errorstream<<"Server::ProcessData(): Cancelling: " "No player for peer_id="<getPlayerSAO(); - if(playersao == NULL){ + if(playersao == NULL) { errorstream<<"Server::ProcessData(): Cancelling: " "No player object for peer_id="<