aboutsummaryrefslogtreecommitdiffstats
path: root/main/pbx.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/pbx.c')
-rw-r--r--main/pbx.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/main/pbx.c b/main/pbx.c
index 2a0f21d77..f080d016c 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -741,9 +741,7 @@ static int _extension_match_core(const char *pattern, const char *data, enum ext
{
mode &= E_MATCH_MASK; /* only consider the relevant bits */
- if ( (mode == E_MATCH)
- && (pattern[0] == '_')
- && (strcasecmp(pattern,data)==0) ) /* note: if this test is left out, then _x. will not match _x. !!! */
+ if ( (mode == E_MATCH) && (pattern[0] == '_') && (strcasecmp(pattern,data)==0) ) /* note: if this test is left out, then _x. will not match _x. !!! */
return 1;
if (pattern[0] != '_') { /* not a pattern, try exact or partial match */