Fix previous merge. ast_test_flag != ast_test_flag64
authorPaul Belanger <paul.belanger@polybeacon.com>
Wed, 23 Jun 2010 21:06:15 +0000 (21:06 +0000)
committerPaul Belanger <paul.belanger@polybeacon.com>
Wed, 23 Jun 2010 21:06:15 +0000 (21:06 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@272259 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_meetme.c

index 8b24b3c..1ad6769 100644 (file)
@@ -4141,9 +4141,9 @@ static int conf_exec(struct ast_channel *chan, const char *data)
                                }
                        } else {
                                if (((!ast_strlen_zero(cnf->pin) &&
-                                   !ast_test_flag(&confflags, CONFFLAG_ADMIN)) ||
+                                   !ast_test_flag64(&confflags, CONFFLAG_ADMIN)) ||
                                    (!ast_strlen_zero(cnf->pinadmin) &&
-                                   ast_test_flag(&confflags, CONFFLAG_ADMIN))) &&
+                                   ast_test_flag64(&confflags, CONFFLAG_ADMIN))) &&
                                    (!(cnf->users == 0 && cnf->isdynamic))) {
                                        char pin[MAX_PIN] = "";
                                        int j;