Module: kamailio Branch: 6.1 Commit: b9701628d67452ef8e94ab8542c7896e19bf0aa7 URL: https://github.com/kamailio/kamailio/commit/b9701628d67452ef8e94ab8542c7896e19bf0aa7
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2026-02-09T21:14:41+01:00 app_lua: option to take the module name from defined id (cherry picked from commit 2a2b58c986b6eae70a2cedf9d13ad2f1d95bc496) --- Modified: src/modules/app_lua/app_lua_mod.c --- Diff: https://github.com/kamailio/kamailio/commit/b9701628d67452ef8e94ab8542c7896e19bf0aa7.diff Patch: https://github.com/kamailio/kamailio/commit/b9701628d67452ef8e94ab8542c7896e19bf0aa7.patch --- diff --git a/src/modules/app_lua/app_lua_mod.c b/src/modules/app_lua/app_lua_mod.c index 00fbc1a58fc..b10e3413775 100644 --- a/src/modules/app_lua/app_lua_mod.c +++ b/src/modules/app_lua/app_lua_mod.c @@ -92,8 +92,12 @@ static cmd_export_t cmds[] = { {0, 0, 0, 0, 0, 0} }; +#ifndef MOD_NAME +#define MOD_NAME "app_lua" +#endif + struct module_exports _app_lua_exports = { - "app_lua", /* module name */ + MOD_NAME, /* module name */ DEFAULT_DLFLAGS, /* dlopen flags */ cmds, /* exported functions */ params, /* exported params */ _______________________________________________ Kamailio - Development Mailing List -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!
