aboutsummaryrefslogtreecommitdiff
path: root/src/terminal_chat_console.cpp
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2016-02-18 16:06:07 -0500
committerparamat <mat.gregory@virginmedia.com>2016-02-19 14:52:10 +0000
commit4827ee1258ac9d68808ca4e2a9cb88bf49473e6b (patch)
treee2900cf20cb7aed59fb69e94b97784e02843e0cd /src/terminal_chat_console.cpp
parent997be666e37e9494bb92a50521b4b749156a609c (diff)
downloadminetest-4827ee1258ac9d68808ca4e2a9cb88bf49473e6b.tar.gz
minetest-4827ee1258ac9d68808ca4e2a9cb88bf49473e6b.tar.bz2
minetest-4827ee1258ac9d68808ca4e2a9cb88bf49473e6b.zip
Require request_insecure_environment to be called from the mod's main scope
Previously you could steal a secure environment from a trusted mod by wrapping request_insecure_environment with some code like this: local rie_cp = minetest.request_insecure_environment local stolen_ie function minetest.request_insecure_environment() local ie = rie_cp() stolen_ie = stolen_ie or ie return ie end
Diffstat (limited to 'src/terminal_chat_console.cpp')
0 files changed, 0 insertions, 0 deletions