From 32b050b6768f83325eb7d788d7aa770fc58f8c15 Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Mon, 8 Sep 2008 23:01:03 +0000 Subject: [PATCH] Blocked revisions 141906 via svnmerge ........ r141906 | mmichelson | 2008-09-08 18:00:06 -0500 (Mon, 08 Sep 2008) | 9 lines Optimization: The only reason we should check member status is if the queue has a joinempty or a leavewhenempty setting which could cause the caller to not join the queue or exit the queue. Prior to this patch, we could potentially traverse the entire queue's member list for no reason since even if the members are currently not available in some way we're going to let the caller join the queue anyway. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@141908 65c4cc65-6c06-0410-ace0-fbb531ad65f3