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:
zeuner 2022-01-21 19:57:51 +01:00 committed by GitHub
parent cd2c6c949c
commit 17c1ae786d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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 =