aboutsummaryrefslogtreecommitdiff
path: root/builtin/game
diff options
context:
space:
mode:
authorred-001 <red-001@outlook.ie>2018-02-15 20:18:54 +0000
committerSmallJoker <SmallJoker@users.noreply.github.com>2018-02-15 21:18:54 +0100
commit338d645fcfa1f07a82c4940aa09a6fb265ff608f (patch)
treec2665c7108e84f677fc20ae2f8d90984fcd8532f /builtin/game
parent861cfd848473db6c36b0debb7152d98ca8017062 (diff)
downloadminetest-338d645fcfa1f07a82c4940aa09a6fb265ff608f.tar.gz
minetest-338d645fcfa1f07a82c4940aa09a6fb265ff608f.tar.bz2
minetest-338d645fcfa1f07a82c4940aa09a6fb265ff608f.zip
Add `on_auth_fail` callback (#7039)
Called when a client fails to supply the correct password for the account it's attempting to login as.
Diffstat (limited to 'builtin/game')
-rw-r--r--builtin/game/register.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/game/register.lua b/builtin/game/register.lua
index f5d4ea216..15d9b42d0 100644
--- a/builtin/game/register.lua
+++ b/builtin/game/register.lua
@@ -584,6 +584,7 @@ core.registered_on_priv_grant, core.register_on_priv_grant = make_registration()
core.registered_on_priv_revoke, core.register_on_priv_revoke = make_registration()
core.registered_can_bypass_userlimit, core.register_can_bypass_userlimit = make_registration()
core.registered_on_modchannel_message, core.register_on_modchannel_message = make_registration()
+core.registered_on_auth_fail, core.register_on_auth_fail = make_registration()
--
-- Compatibility for on_mapgen_init()