mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
SAPI: Track last executed mod and include in error messages
This commit is contained in:
@@ -171,6 +171,7 @@ function core.register_authentication_handler(handler)
|
||||
end
|
||||
core.registered_auth_handler = handler
|
||||
core.registered_auth_handler_modname = core.get_current_modname()
|
||||
handler.mod_origin = core.registered_auth_handler_modname
|
||||
end
|
||||
|
||||
function core.get_auth_handler()
|
||||
|
Reference in New Issue
Block a user