diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-09-04 17:31:44 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-09-04 17:31:44 +0000 |
commit | 5b68ca1a7ee10e1ef6428942ac5ad46f50af9eae (patch) | |
tree | 0e753580b8b3d9da9894f48f67f1713eb4091a30 /main | |
parent | 7acc8bcaf3b269f4ea16ed2dad528ca867d4478e (diff) |
Enable turning off the application delimiter warning with the 'dontwarn' option.
Suggested on the -dev list, and implemented in an alternate way by me.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@216547 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r-- | main/pbx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/pbx.c b/main/pbx.c index 9aa3b31db..d8b7ff33c 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -1361,7 +1361,7 @@ int pbx_exec(struct ast_channel *c, /*!< Channel */ if (app->module) u = __ast_module_user_add(app->module, c); if (strcasecmp(app->name, "system") && !ast_strlen_zero(data) && - strchr(data, '|') && !strchr(data, ',')) { + strchr(data, '|') && !strchr(data, ',') && !ast_opt_dont_warn) { ast_log(LOG_WARNING, "The application delimiter is now the comma, not " "the pipe. Did you forget to convert your dialplan? (%s(%s))\n", app->name, (char *) data); |