diff --git a/README.md b/README.md index 9c97adc..d813b49 100644 --- a/README.md +++ b/README.md @@ -50,10 +50,10 @@ export MATRIX_API_HTTP_CLIENT=luasocket You might need to prepend `sudo` to first and second commands. -For the moment you need to add `matrix` to `secure.trusted_mods` for lua-matrix to work. This will hopefully change. +For the moment you need to add `matrix_chat` to `secure.trusted_mods` for lua-matrix to work. This will hopefully change. ``` -secure.trusted_mods = matrix +secure.trusted_mods = matrix_chat ``` [wiki]: https://wiki.minetest.net/Installing_mods diff --git a/init.lua b/init.lua index bd536fc..a32f16e 100644 --- a/init.lua +++ b/init.lua @@ -8,7 +8,7 @@ local ie, req_ie = _G, minetest.request_insecure_environment if req_ie then ie = req_ie() end if not ie then error("The Matrix mod requires access to insecure functions in order ".. - "to work. Please add matrix to secure.trusted_mods.") + "to work. Please add matrix_chat to secure.trusted_mods.") end ie.package.path =