[asterisk-commits] qwell: trunk r282132 - in /trunk: ./ pbx/pbx_config.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Aug 12 17:52:35 CDT 2010
Author: qwell
Date: Thu Aug 12 17:52:33 2010
New Revision: 282132
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=282132
Log:
Merged revisions 282131 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
................
r282131 | qwell | 2010-08-12 17:51:44 -0500 (Thu, 12 Aug 2010) | 16 lines
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.
........
................
................
Modified:
trunk/ (props changed)
trunk/pbx/pbx_config.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.
Modified: trunk/pbx/pbx_config.c
URL: http://svnview.digium.com/svn/asterisk/trunk/pbx/pbx_config.c?view=diff&rev=282132&r1=282131&r2=282132
==============================================================================
--- trunk/pbx/pbx_config.c (original)
+++ trunk/pbx/pbx_config.c Thu Aug 12 17:52:33 2010
@@ -1737,12 +1737,12 @@
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;
}
More information about the asterisk-commits
mailing list