Fix beep logic error (bug #3888)
authorMark Spencer <markster@digium.com>
Tue, 29 Mar 2005 06:34:50 +0000 (06:34 +0000)
committerMark Spencer <markster@digium.com>
Tue, 29 Mar 2005 06:34:50 +0000 (06:34 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5299 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_meetme.c

index eb905af..52b07ce 100755 (executable)
@@ -844,7 +844,7 @@ zapretry:
        if (!firstpass && !(confflags & CONFFLAG_MONITOR) && !(confflags & CONFFLAG_ADMIN)) {
                firstpass = 1;
                if (!(confflags & CONFFLAG_QUIET))
-                       if ((confflags & CONFFLAG_WAITMARKED) && conf->markedusers >= 1)
+                       if (!(confflags & CONFFLAG_WAITMARKED) || (conf->markedusers >= 1))
                                conf_play(chan, conf, ENTER);
        }
        conf_flush(fd);