From a7f330a2d26dc40de2a2f2a0762a08b5809e29af Mon Sep 17 00:00:00 2001
From: BJ Weschke <bweschke@btwtech.com>
Date: Mon, 8 May 2006 13:16:06 +0000
Subject: [PATCH] Merged revisions 25520 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r25520 | bweschke | 2006-05-08 09:15:30 -0400 (Mon, 08 May 2006) | 3 lines

 Oops. :(


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25521 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 apps/app_queue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/app_queue.c b/apps/app_queue.c
index b81e0912f5..bbf0a2c99d 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -1215,7 +1215,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;
-- 
GitLab