[asterisk-commits] mnicholson: branch 1.8 r309448 - /branches/1.8/pbx/pbx_lua.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Mar 4 09:59:30 CST 2011


Author: mnicholson
Date: Fri Mar  4 09:59:25 2011
New Revision: 309448

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=309448
Log:
Export global symbols from pbx_lua to allow modules to be loaded.  Fixes a regression introduced in r278132.

(closes issue #18671)
Reported by: Igels
Patches:
      pbx_lua_global_symbols1.diff uploaded by mnicholson (license 96)
Tested by: Igels

Modified:
    branches/1.8/pbx/pbx_lua.c

Modified: branches/1.8/pbx/pbx_lua.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/pbx/pbx_lua.c?view=diff&rev=309448&r1=309447&r2=309448
==============================================================================
--- branches/1.8/pbx/pbx_lua.c (original)
+++ branches/1.8/pbx/pbx_lua.c Fri Mar  4 09:59:25 2011
@@ -1467,7 +1467,7 @@
 	return AST_MODULE_LOAD_SUCCESS;
 }
 
-AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, "Lua PBX Switch",
+AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_GLOBAL_SYMBOLS, "Lua PBX Switch",
 		.load = load_module,
 		.unload = unload_module,
 		.reload = reload,




More information about the asterisk-commits mailing list