summaryrefslogtreecommitdiff
path: root/indra/newview/llcallfloater.cpp
diff options
context:
space:
mode:
authorAndrew Dyukov <adyukov@productengine.com>2009-12-04 20:01:16 +0200
committerAndrew Dyukov <adyukov@productengine.com>2009-12-04 20:01:16 +0200
commitae6911d094bcfaa730fd77f3c55c9ea5fa02b229 (patch)
tree30c32a47ec5945028b6630279185d2ab5272b352 /indra/newview/llcallfloater.cpp
parent1a7013d5cf63006ff9f4d30b21c4f369915de332 (diff)
No ticket. Removed check is current voice channel active when
"Leave Call" button in Voice Control Panel (EXT-2986). --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llcallfloater.cpp')
-rw-r--r--indra/newview/llcallfloater.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llcallfloater.cpp b/indra/newview/llcallfloater.cpp
index ad59c780f3..895b4ed80e 100644
--- a/indra/newview/llcallfloater.cpp
+++ b/indra/newview/llcallfloater.cpp
@@ -127,7 +127,7 @@ void LLCallFloater::onOpen(const LLSD& /*key*/)
void LLCallFloater::leaveCall()
{
LLVoiceChannel* voice_channel = LLVoiceChannel::getCurrentVoiceChannel();
- if (voice_channel && voice_channel->isActive())
+ if (voice_channel)
{
voice_channel->deactivate();
}