]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Remove the problematic and unneeded AST_MODFLAG_GLOBAL_SYMBOLS from pbx_lua.c
authorGeorge Joseph <george.joseph@fairview5.com>
Thu, 19 Jun 2014 15:59:45 +0000 (15:59 +0000)
committerGeorge Joseph <george.joseph@fairview5.com>
Thu, 19 Jun 2014 15:59:45 +0000 (15:59 +0000)
commit8184532a9ffc7bbd19bfdf4dd3d7bc65e85c426c
treedeb82aa0105805e2fe9b367e69cdf10d8cb9a2c4
parentc2c3e171384aeefc87ca80649ceed7c36bc0cdb2
Remove the problematic and unneeded AST_MODFLAG_GLOBAL_SYMBOLS from pbx_lua.c

AST_MODFLAG_GLOBAL_SYMBOLS was causing the module to be incorrectly loaded
before pbx_config.  pbx_config was therefore blowing away contexts that were
created by pbx_lua.  With AST_MODFLAG_DEFAULT the load order is now correct
and contexs are being properly merged.  AST_MODFLAG_GLOBAL_SYMBOLS was not
needed anyway since no other modules needed its global symbols that early.

ASTERISK-23818 #close
Reported by: Dennis Guse
Tested by: Dennis Guse
Tested by: George Joseph

Review: https://reviewboard.asterisk.org/r/3629/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@416667 65c4cc65-6c06-0410-ace0-fbb531ad65f3
pbx/pbx_lua.c