aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2016-10-09 14:36:22 -0400
committerShadowNinja <shadowninja@minetest.net>2017-01-13 14:08:24 -0500
commit7ae7f1ea4cbbda7d7849a1240ce30d867e850bfb (patch)
treed860aeabc374768ef4cc888ca4639ecde2f5475b /src
parent25ba96fcac9fce7bfa9dd6e9c2c3e96e2d5e147e (diff)
downloadminetest-7ae7f1ea4cbbda7d7849a1240ce30d867e850bfb.tar.gz
minetest-7ae7f1ea4cbbda7d7849a1240ce30d867e850bfb.tar.bz2
minetest-7ae7f1ea4cbbda7d7849a1240ce30d867e850bfb.zip
Enable mod security by default
Diffstat (limited to 'src')
-rw-r--r--src/defaultsettings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp
index 52f4cfec8..1096b8904 100644
--- a/src/defaultsettings.cpp
+++ b/src/defaultsettings.cpp
@@ -303,7 +303,7 @@ void set_default_settings(Settings *settings)
settings->setDefault("emergequeue_limit_diskonly", "32");
settings->setDefault("emergequeue_limit_generate", "32");
settings->setDefault("num_emerge_threads", "1");
- settings->setDefault("secure.enable_security", "false");
+ settings->setDefault("secure.enable_security", "true");
settings->setDefault("secure.trusted_mods", "");
settings->setDefault("secure.http_mods", "");