git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@105 d0543943-73ff-0310-b7d9-9358b9ac24b2

This commit is contained in:
Anthony Minessale 2005-12-10 01:59:43 +00:00
parent b4e75a2743
commit 77980897b9
1 changed files with 3 additions and 0 deletions

View File

@ -1325,6 +1325,9 @@ SWITCH_MOD_DECLARE(switch_status) switch_module_load(const switch_loadable_modul
while (switch_config_next_pair(&cfg, &var, &val)) {
if (!strcasecmp(cfg.category, "settings")) {
if (!strcmp(var, "noload") && atoi(val)) {
return SWITCH_STATUS_TERM;
}
if (!strcmp(var, "debug")) {
globals.debug = atoi(val);
}