From 176f263d23619e99c87a69e1cf166a8c912e3037 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 30 Mar 2009 18:34:43 +0000 Subject: [PATCH] * minor: remove mono compiler warnings --- .../ClientStack/LindenUDP/LLClientView.cs | 19 ++++++++-------- .../Avatar/InstantMessage/MuteListModule.cs | 22 +++++++++---------- 2 files changed, 20 insertions(+), 21 deletions(-) diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 62918a701d..52ad5c2845 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -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; diff --git a/OpenSim/Region/CoreModules/Avatar/InstantMessage/MuteListModule.cs b/OpenSim/Region/CoreModules/Avatar/InstantMessage/MuteListModule.cs index f19696e181..d3e5b45a3f 100644 --- a/OpenSim/Region/CoreModules/Avatar/InstantMessage/MuteListModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/InstantMessage/MuteListModule.cs @@ -110,17 +110,17 @@ namespace OpenSim.Region.CoreModules.Avatar.MuteList public void Close() { } - - 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) {