aboutsummaryrefslogtreecommitdiff
path: root/src/script/scripting_server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/scripting_server.cpp')
-rw-r--r--src/script/scripting_server.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/script/scripting_server.cpp b/src/script/scripting_server.cpp
index 604607e78..85411ded4 100644
--- a/src/script/scripting_server.cpp
+++ b/src/script/scripting_server.cpp
@@ -50,7 +50,8 @@ extern "C" {
#include "lualib.h"
}
-ServerScripting::ServerScripting(Server *server) : ScriptApiBase(ScriptingType::Server)
+ServerScripting::ServerScripting(Server* server):
+ ScriptApiBase(ScriptingType::Server)
{
setGameDef(server);
@@ -62,12 +63,9 @@ ServerScripting::ServerScripting(Server *server) : ScriptApiBase(ScriptingType::
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");