summaryrefslogtreecommitdiff
path: root/indra/newview/llgroupmgr.cpp
diff options
context:
space:
mode:
authorsimon <none@none>2014-02-18 16:41:21 -0800
committersimon <none@none>2014-02-18 16:41:21 -0800
commit52ce788d0cf77361dc337edaf136f401acd0d4a9 (patch)
tree10b483a50bb1f3d897ece66d118036201bd74af7 /indra/newview/llgroupmgr.cpp
parent54ab932884c386950f4f31b9ee63446053c03d59 (diff)
parenta347267cf1c55a3bd57d30117b8aa834623e1d61 (diff)
Pull in viewer-lion to lock down next release
Diffstat (limited to 'indra/newview/llgroupmgr.cpp')
-rwxr-xr-xindra/newview/llgroupmgr.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llgroupmgr.cpp b/indra/newview/llgroupmgr.cpp
index 7ea08539f9..9c0b486cc5 100755
--- a/indra/newview/llgroupmgr.cpp
+++ b/indra/newview/llgroupmgr.cpp
@@ -609,6 +609,11 @@ void LLGroupMgrGroupData::recalcAgentPowers(const LLUUID& agent_id)
}
}
+bool LLGroupMgrGroupData::isSingleMemberNotOwner()
+{
+ return mMembers.size() == 1 && !mMembers.begin()->second->isOwner();
+}
+
bool packRoleUpdateMessageBlock(LLMessageSystem* msg,
const LLUUID& group_id,
const LLUUID& role_id,