From 94961e4ff6d39c0181ec41efdad0d09eea987be9 Mon Sep 17 00:00:00 2001 From: Raymond Chandler Date: Thu, 18 Aug 2011 13:23:04 -0400 Subject: [PATCH] can never be == 3 if it's == 2 :-) ... thanks Deeewayne --- src/mod/applications/mod_easyroute/mod_easyroute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_easyroute/mod_easyroute.c b/src/mod/applications/mod_easyroute/mod_easyroute.c index 75b4712f2d..ad1d75c303 100644 --- a/src/mod/applications/mod_easyroute/mod_easyroute.c +++ b/src/mod/applications/mod_easyroute/mod_easyroute.c @@ -303,7 +303,7 @@ SWITCH_STANDARD_APP(easyroute_app_function) if ((argc = switch_separate_string(mydata, ' ', argv, (sizeof(argv) / sizeof(argv[0]))))) { destnum = argv[0]; - if (argc == 2) { + if (argc >= 2) { if (!strcasecmp(argv[1], "noat")) { noat = 1; } else if (!strcasecmp(argv[1], "separator")) {