From 338d645fcfa1f07a82c4940aa09a6fb265ff608f Mon Sep 17 00:00:00 2001 From: red-001 Date: Thu, 15 Feb 2018 20:18:54 +0000 Subject: 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. --- builtin/game/register.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'builtin') 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() -- cgit v1.2.3