Add on_grant and on_revoke callbacks (#4713)
authorrubenwardy <rubenwardy@gmail.com>
Sat, 26 Aug 2017 06:17:05 +0000 (07:17 +0100)
committerLoïc Blot <nerzhul@users.noreply.github.com>
Sat, 26 Aug 2017 06:17:05 +0000 (08:17 +0200)
commit096ea031de5bdb3e51d2ceb12e6b7e2f2053081e
tree299fa6f103e70c091cbd73c221046ec2fc302d35
parentad9677a14fb8ad1b4048e83a779e5ad36a99f2d0
Add on_grant and on_revoke callbacks (#4713)

* Add register_on_priv_grant/revoke, and on_grant/revoke to privs. Call from /grant and /revoke

* Call on_grant and on_revoke callbacks from set_privs
builtin/game/auth.lua
builtin/game/chatcommands.lua
builtin/game/register.lua
doc/lua_api.txt