diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-03-31 17:26:44 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-03-31 17:26:44 +0300 |
commit | 36c9463467d8381a685742cd57111056a49cae8a (patch) | |
tree | f9a8202797e6df98593c48fca930125bec9e7cfd /doc | |
parent | 13159c1a48690d4ede3dbabc7699ea3d49072860 (diff) | |
download | minetest-36c9463467d8381a685742cd57111056a49cae8a.tar.gz minetest-36c9463467d8381a685742cd57111056a49cae8a.tar.bz2 minetest-36c9463467d8381a685742cd57111056a49cae8a.zip |
Improve /grant and /revoke output, add /auth_reload
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 3ba59565b..61cb73f30 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -532,6 +532,7 @@ minetest.privs_to_string(privs) -> "priv1,priv2,..." minetest.set_player_password(name, password_hash) minetest.set_player_privs(name, {priv1=true,...}) minetest.get_player_privs(name) -> {priv1=true,...} +minetest.auth_reload() ^ These call the authentication handler minetest.check_player_privs(name, {priv1=true,...}) -> bool, missing_privs ^ A quickhand for checking privileges |