Update mod name in README and init (#15)
* mod.conf calls it `matrix_chat` now * mod.conf calls it `matrix_chat` now Co-authored-by: Isidor Zeuner <minetest@quidecco.de>
This commit is contained in:
parent
cd2c6c949c
commit
17c1ae786d
@ -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
|
||||
|
||||
2
init.lua
2
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 =
|
||||
|
||||
Loading…
Reference in New Issue
Block a user