a few minor formatting tweaks
parent
c43ad8a0e7
commit
a3e0895f12
|
@ -1237,12 +1237,12 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
|
||||||
Scene cScene = (Scene)requestingClient.Scene;
|
Scene cScene = (Scene)requestingClient.Scene;
|
||||||
bool isGod = cScene.Permissions.IsGod(requestingClient.AgentId);
|
bool isGod = cScene.Permissions.IsGod(requestingClient.AgentId);
|
||||||
|
|
||||||
if (isGod) {
|
if (isGod)
|
||||||
|
{
|
||||||
membershipArray = membershipData.ToArray();
|
membershipArray = membershipData.ToArray();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
||||||
if (requestingClient.AgentId != dataForAgentID)
|
if (requestingClient.AgentId != dataForAgentID)
|
||||||
{
|
{
|
||||||
Predicate<GroupMembershipData> showInProfile = delegate(GroupMembershipData membership)
|
Predicate<GroupMembershipData> showInProfile = delegate(GroupMembershipData membership)
|
||||||
|
@ -1257,6 +1257,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
|
||||||
membershipArray = membershipData.ToArray();
|
membershipArray = membershipData.ToArray();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_debugEnabled)
|
if (m_debugEnabled)
|
||||||
{
|
{
|
||||||
m_log.InfoFormat("[GROUPS]: Get group membership information for {0} requested by {1}", dataForAgentID, requestingClient.AgentId);
|
m_log.InfoFormat("[GROUPS]: Get group membership information for {0} requested by {1}", dataForAgentID, requestingClient.AgentId);
|
||||||
|
|
Loading…
Reference in New Issue