diff options
author | Elias Fleckenstein <54945686+EliasFleckenstein03@users.noreply.github.com> | 2020-11-04 16:44:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-04 16:44:42 +0100 |
commit | 5d9ae5a91c544fc7fbd475decf47cef7e09ef8fc (patch) | |
tree | c980d614fec4a5495798be3e79e033229062c3cd /src/script/scripting_server.cpp | |
parent | 28f6a79706b088c37268a59d90878220dc4ef9c7 (diff) | |
parent | 3af10766fd2b58b068e970266724d7eb10e9316b (diff) | |
download | dragonfireclient-5d9ae5a91c544fc7fbd475decf47cef7e09ef8fc.tar.xz |
Merge branch 'master' into master
Diffstat (limited to 'src/script/scripting_server.cpp')
-rw-r--r-- | src/script/scripting_server.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/script/scripting_server.cpp b/src/script/scripting_server.cpp index 85411ded4..604607e78 100644 --- a/src/script/scripting_server.cpp +++ b/src/script/scripting_server.cpp @@ -50,8 +50,7 @@ extern "C" { #include "lualib.h" } -ServerScripting::ServerScripting(Server* server): - ScriptApiBase(ScriptingType::Server) +ServerScripting::ServerScripting(Server *server) : ScriptApiBase(ScriptingType::Server) { setGameDef(server); @@ -63,9 +62,12 @@ ServerScripting::ServerScripting(Server* server): if (g_settings->getBool("secure.enable_security")) { initializeSecurity(); } else { - warningstream << "\\!/ Mod security should never be disabled, as it allows any mod to " - << "access the host machine." - << "Mods should use minetest.request_insecure_environment() instead \\!/" << std::endl; + warningstream << "\\!/ Mod security should never be disabled, as it " + "allows any mod to " + << "access the host machine." + << "Mods should use " + "minetest.request_insecure_environment() instead \\!/" + << std::endl; } lua_getglobal(L, "core"); |