From 7e2b25feda9872e0aea63bb227f70600a8d36130 Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Sun, 5 Apr 2009 13:22:32 +0200 Subject: [PATCH] Mini-Fix: don't read settings, where not required. --- action.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.cpp b/action.cpp index 080e8f6..bd7239e 100644 --- a/action.cpp +++ b/action.cpp @@ -142,7 +142,7 @@ void EndpointAppPBX::action_dialing_internal(void) } /* check if extension exists AND only if not multiple extensions */ - if (!read_extension(&ext, dialinginfo.id) && !strchr(dialinginfo.id,',')) + if (!strchr(dialinginfo.id,',') && !read_extension(&ext, dialinginfo.id)) { trace_header("ACTION extension (extension doesn't exist)", DIRECTION_NONE); add_trace("extension", NULL, dialinginfo.id); -- 2.13.6