From: Kahrl Date: Thu, 19 Dec 2013 20:47:08 +0000 (+0100) Subject: Check for denied access in itemdef/nodedef/media fetch loop X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=a50db0e824eba8e0e265099df256cafc333113d7;p=zefram%2Fminetest%2Fminetest_engine.git Check for denied access in itemdef/nodedef/media fetch loop --- diff --git a/src/game.cpp b/src/game.cpp index 6f48870a..8cf7da1e 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1215,6 +1215,12 @@ void the_game( break; } // Break conditions + if(client.accessDenied()){ + error_message = L"Access denied. Reason: " + +client.accessDeniedReason(); + errorstream<