aboutsummaryrefslogtreecommitdiff
path: root/builtin/init.lua
diff options
context:
space:
mode:
authorred-001 <red-001@outlook.ie>2017-01-28 16:24:25 +0000
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-03-13 23:56:05 +0100
commita50d07d39a76053328846d82a32bac61468bb16f (patch)
tree4103d0f4b4f9ede76bba90d49a475b901f3fec64 /builtin/init.lua
parent92b45b2a189b703fc7cfc8ddbc09a7ad563a13bc (diff)
downloadminetest-a50d07d39a76053328846d82a32bac61468bb16f.tar.gz
minetest-a50d07d39a76053328846d82a32bac61468bb16f.tar.bz2
minetest-a50d07d39a76053328846d82a32bac61468bb16f.zip
[CSM] Improve security for client-sided mods (#5100)
Diffstat (limited to 'builtin/init.lua')
-rw-r--r--builtin/init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/init.lua b/builtin/init.lua
index 590f7fa8c..c9fa70fc7 100644
--- a/builtin/init.lua
+++ b/builtin/init.lua
@@ -47,6 +47,7 @@ elseif INIT == "mainmenu" then
elseif INIT == "async" then
dofile(asyncpath .. "init.lua")
elseif INIT == "client" then
+ os.setlocale = nil
dofile(clientpath .. "init.lua")
else
error(("Unrecognized builtin initialization type %s!"):format(tostring(INIT)))