mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Thu Feb 13 07:00:00 CET 2003
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@613 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1510,10 +1510,10 @@ static int pbx_load_module(void)
|
||||
if (!pri)
|
||||
pri="";
|
||||
appl = stringp;
|
||||
if (!(start = strchr(appl, '(')))
|
||||
appl = strsep(&stringp, ",");
|
||||
if (!appl)
|
||||
appl="";
|
||||
if (!(start = strchr(appl, '(')))
|
||||
appl = strsep(&stringp, ",");
|
||||
if (start && (end = strrchr(appl, ')'))) {
|
||||
*start = *end = '\0';
|
||||
data = start + 1;
|
||||
@@ -1588,7 +1588,10 @@ int load_module(void)
|
||||
int reload(void)
|
||||
{
|
||||
ast_context_destroy(NULL, registrar);
|
||||
/* For martin's global variables, don't clear them on reload */
|
||||
#if 0
|
||||
pbx_builtin_clear_globals();
|
||||
#endif
|
||||
pbx_load_module();
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user