summaryrefslogtreecommitdiff
path: root/apps/app_meetme.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-08-02 02:58:15 +0000
committerMark Spencer <markster@digium.com>2004-08-02 02:58:15 +0000
commitf195e423f475aba479c1bdd5601b355484c3bd33 (patch)
tree8aba701c22fa4aeeea1b53d12a80df17e7631798 /apps/app_meetme.c
parent5abc3ecb56a273ac958b0f8c892a70d95a6060c4 (diff)
Correct for user selecting 'D' when they should be selecting 'd' (bug #2200)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3567 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_meetme.c')
-rwxr-xr-xapps/app_meetme.c6
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;
}