]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Oops. :(
authorBJ Weschke <bweschke@btwtech.com>
Mon, 8 May 2006 13:15:30 +0000 (13:15 +0000)
committerBJ Weschke <bweschke@btwtech.com>
Mon, 8 May 2006 13:15:30 +0000 (13:15 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@25520 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index bd6102136e85c4bbf9ca87e3c32f83e09e78ab9e..dda70b492844045c579ac553e3fcad729d14091f 100644 (file)
@@ -1185,7 +1185,7 @@ static int say_position(struct queue_ent *qe)
        qe->last_pos = now;
        qe->last_pos_said = qe->pos;
        /* Don't restart music on hold if we're about to exit the caller from the queue */
-       if (!res)
+       if (res)
                ast_moh_start(qe->chan, qe->moh);
 
        return res;