diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-08-02 02:58:15 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-08-02 02:58:15 +0000 |
commit | 637a58a941a170d64049e786a4c0a7cf4ccb75f1 (patch) | |
tree | 8aba701c22fa4aeeea1b53d12a80df17e7631798 /apps/app_meetme.c | |
parent | d96b7e454b949252955775613ed8622d1078f355 (diff) |
Correct for user selecting 'D' when they should be selecting 'd' (bug #2200)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3567 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_meetme.c')
-rwxr-xr-x | apps/app_meetme.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c index fd40932e3..c2ff53799 100755 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -1082,6 +1082,12 @@ static struct ast_conference *find_conf(struct ast_channel *chan, char *confno, } ast_destroy(cfg); } + } else { + /* Correct for the user selecting 'D' instead of 'd' to have + someone join into a conference that has already been created + with a pin. */ + if (dynamic_pin[0] == 'q') + dynamic_pin[0] = '\0'; } return cnf; } |