ensure that priorityjumping option returns to its default during reload if it is...
authorKevin P. Fleming <kpfleming@digium.com>
Thu, 13 Oct 2005 22:55:28 +0000 (22:55 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Thu, 13 Oct 2005 22:55:28 +0000 (22:55 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6771 65c4cc65-6c06-0410-ace0-fbb531ad65f3

pbx/pbx_config.c

index 4f34a57..45df4b1 100755 (executable)
@@ -1623,8 +1623,8 @@ static int pbx_load_module(void)
                                                                        "autofallthrough"));
                clearglobalvars_config = ast_true(ast_variable_retrieve(cfg, "general", 
                                                                        "clearglobalvars"));
-               option_priority_jumping = ast_true(ast_variable_retrieve(cfg, "general",
-                                                                        "priorityjumping"));
+               option_priority_jumping = !ast_false(ast_variable_retrieve(cfg, "general",
+                                                                          "priorityjumping"));
 
                v = ast_variable_browse(cfg, "globals");
                while(v) {