]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@105 d0543943-73ff-0310...
authorAnthony Minessale <anthony.minessale@gmail.com>
Sat, 10 Dec 2005 01:59:43 +0000 (01:59 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Sat, 10 Dec 2005 01:59:43 +0000 (01:59 +0000)
src/mod/mod_woomerachan/mod_woomerachan.c

index 0985162ea2c04716270deb687ee9a88c5aff9714..4325a5fc078fcb498bfded5296d9fce8d47efdf4 100644 (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);
                        }