* minor: remove mono compiler warnings
parent
ac8fc02afc
commit
176f263d23
|
@ -7202,7 +7202,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
i++;
|
||||
}
|
||||
|
||||
|
||||
OutPacket(groupRoleMembersReply, ThrottleOutPacketType.Task);
|
||||
}
|
||||
break;
|
||||
|
@ -7213,15 +7212,15 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
|
||||
if (m_GroupsModule != null)
|
||||
{
|
||||
UUID groupID = m_GroupsModule.CreateGroup(this,
|
||||
Utils.BytesToString(createGroupRequest.GroupData.Name),
|
||||
Utils.BytesToString(createGroupRequest.GroupData.Charter),
|
||||
createGroupRequest.GroupData.ShowInList,
|
||||
createGroupRequest.GroupData.InsigniaID,
|
||||
createGroupRequest.GroupData.MembershipFee,
|
||||
createGroupRequest.GroupData.OpenEnrollment,
|
||||
createGroupRequest.GroupData.AllowPublish,
|
||||
createGroupRequest.GroupData.MaturePublish);
|
||||
m_GroupsModule.CreateGroup(this,
|
||||
Utils.BytesToString(createGroupRequest.GroupData.Name),
|
||||
Utils.BytesToString(createGroupRequest.GroupData.Charter),
|
||||
createGroupRequest.GroupData.ShowInList,
|
||||
createGroupRequest.GroupData.InsigniaID,
|
||||
createGroupRequest.GroupData.MembershipFee,
|
||||
createGroupRequest.GroupData.OpenEnrollment,
|
||||
createGroupRequest.GroupData.AllowPublish,
|
||||
createGroupRequest.GroupData.MaturePublish);
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
|
@ -111,16 +111,16 @@ namespace OpenSim.Region.CoreModules.Avatar.MuteList
|
|||
{
|
||||
}
|
||||
|
||||
private IClientAPI FindClient(UUID agentID)
|
||||
{
|
||||
foreach (Scene s in m_SceneList)
|
||||
{
|
||||
ScenePresence presence = s.GetScenePresence(agentID);
|
||||
if (presence != null && !presence.IsChildAgent)
|
||||
return presence.ControllingClient;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
// private IClientAPI FindClient(UUID agentID)
|
||||
// {
|
||||
// foreach (Scene s in m_SceneList)
|
||||
// {
|
||||
// ScenePresence presence = s.GetScenePresence(agentID);
|
||||
// if (presence != null && !presence.IsChildAgent)
|
||||
// return presence.ControllingClient;
|
||||
// }
|
||||
// return null;
|
||||
// }
|
||||
|
||||
private void OnNewClient(IClientAPI client)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue