fix nice fresh config bug

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@668 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2006-02-24 21:59:13 +00:00
parent 3d6ca65883
commit 5492b17e94
2 changed files with 10 additions and 2 deletions

View File

@@ -355,6 +355,7 @@ SWITCH_DECLARE(switch_status) switch_loadable_module_init()
if (switch_config_open_file(&cfg, cf)) {
while (switch_config_next_pair(&cfg, &var, &val)) {
count++;
if (!strcasecmp(cfg.category, "modules")) {
if (!strcasecmp(var, "load")) {
if (!strcasecmp(val, "all")) {