summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorEugene Kondrashev <ekondrashev@productengine.com>2009-10-26 20:46:36 +0200
committerEugene Kondrashev <ekondrashev@productengine.com>2009-10-26 20:46:36 +0200
commitb5ee0673661b37fbd6243d70c1d2c968e3186374 (patch)
tree77f7bb60c497933bf752f8b9afd4bbe77c1ab9a8 /indra
parentee398188f037b0aff83e0e81e56cf2143044c886 (diff)
Fixed major bug EXT-1850-Crash after open of group-chat (ProductEngine)
--HG-- branch : product-engine
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llparticipantlist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llparticipantlist.cpp b/indra/newview/llparticipantlist.cpp
index 25e773e8b8..534c69a2a3 100644
--- a/indra/newview/llparticipantlist.cpp
+++ b/indra/newview/llparticipantlist.cpp
@@ -87,7 +87,7 @@ bool LLParticipantList::SpeakerAddListener::handleEvent(LLPointer<LLOldEvents::L
bool LLParticipantList::SpeakerRemoveListener::handleEvent(LLPointer<LLOldEvents::LLEvent> event, const LLSD& userdata)
{
LLAvatarList::uuid_vector_t& group_members = mAvatarList->getIDs();
- group_members.erase(std::find(group_members.begin(), group_members.end(), event->getValue().asUUID()));
+ group_members.erase(std::find(group_members.begin(), group_members.end(), event->getValue().asUUID()), group_members.end());
mAvatarList->setDirty();
return true;
}