mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
Merged revisions 282130 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ................ r282130 | qwell | 2010-08-12 17:50:54 -0500 (Thu, 12 Aug 2010) | 9 lines Merged revisions 282129 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r282129 | qwell | 2010-08-12 17:49:28 -0500 (Thu, 12 Aug 2010) | 1 line Register CLI commands before parsing config, in case there is a config error. ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282131 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1737,13 +1737,13 @@ static int pbx_load_module(void)
|
||||
|
||||
static int load_module(void)
|
||||
{
|
||||
if (pbx_load_module())
|
||||
return AST_MODULE_LOAD_DECLINE;
|
||||
|
||||
if (static_config && !write_protect_config)
|
||||
ast_cli_register(&cli_dialplan_save);
|
||||
ast_cli_register_multiple(cli_pbx_config, ARRAY_LEN(cli_pbx_config));
|
||||
|
||||
if (pbx_load_module())
|
||||
return AST_MODULE_LOAD_DECLINE;
|
||||
|
||||
return AST_MODULE_LOAD_SUCCESS;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user