aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Addons
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Addons')
-rw-r--r--OpenSim/Addons/Groups/GroupsModule.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Addons/Groups/GroupsModule.cs b/OpenSim/Addons/Groups/GroupsModule.cs
index 5b76e0a..a4030aa 100644
--- a/OpenSim/Addons/Groups/GroupsModule.cs
+++ b/OpenSim/Addons/Groups/GroupsModule.cs
@@ -1015,6 +1015,15 @@ namespace OpenSim.Groups
1015 remoteClient.SendJoinGroupReply(groupID, false); 1015 remoteClient.SendJoinGroupReply(groupID, false);
1016 } 1016 }
1017 1017
1018 public void JoinGroup(string agentID, UUID groupID)
1019 {
1020 string reason = string.Empty;
1021 m_groupData.AddAgentToGroup(agentID, agentID, groupID, UUID.Zero, string.Empty, out reason);
1022 if (reason != string.Empty)
1023 // A warning
1024 m_log.Warn("[Groups]: Join group warning - " + reason);
1025 }
1026
1018 public void LeaveGroupRequest(IClientAPI remoteClient, UUID groupID) 1027 public void LeaveGroupRequest(IClientAPI remoteClient, UUID groupID)
1019 { 1028 {
1020 if (m_debugEnabled) m_log.DebugFormat("[Groups]: {0} called", System.Reflection.MethodBase.GetCurrentMethod().Name); 1029 if (m_debugEnabled) m_log.DebugFormat("[Groups]: {0} called", System.Reflection.MethodBase.GetCurrentMethod().Name);