aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Addons/Groups/GroupsModule.cs
diff options
context:
space:
mode:
authorDiva Canto2013-07-28 09:00:28 -0700
committerDiva Canto2013-07-28 09:00:28 -0700
commit170a6f0563c9b9e228dad0b1db5654f2114a05f4 (patch)
tree73d77710d77edb36e7efa0d1428a83fb941f0b1b /OpenSim/Addons/Groups/GroupsModule.cs
parentMore on group chat: only root agents should subscribe to OnInstantMessage, or... (diff)
downloadopensim-SC_OLD-170a6f0563c9b9e228dad0b1db5654f2114a05f4.zip
opensim-SC_OLD-170a6f0563c9b9e228dad0b1db5654f2114a05f4.tar.gz
opensim-SC_OLD-170a6f0563c9b9e228dad0b1db5654f2114a05f4.tar.bz2
opensim-SC_OLD-170a6f0563c9b9e228dad0b1db5654f2114a05f4.tar.xz
This makes group search work (Groups V2).
Diffstat (limited to 'OpenSim/Addons/Groups/GroupsModule.cs')
-rw-r--r--OpenSim/Addons/Groups/GroupsModule.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Addons/Groups/GroupsModule.cs b/OpenSim/Addons/Groups/GroupsModule.cs
index a14dc6a..7d3c064 100644
--- a/OpenSim/Addons/Groups/GroupsModule.cs
+++ b/OpenSim/Addons/Groups/GroupsModule.cs
@@ -313,6 +313,10 @@ namespace OpenSim.Groups
313 m_log.DebugFormat( 313 m_log.DebugFormat(
314 "[Groups]: {0} called with queryText({1}) queryFlags({2}) queryStart({3})", 314 "[Groups]: {0} called with queryText({1}) queryFlags({2}) queryStart({3})",
315 System.Reflection.MethodBase.GetCurrentMethod().Name, queryText, (DirFindFlags)queryFlags, queryStart); 315 System.Reflection.MethodBase.GetCurrentMethod().Name, queryText, (DirFindFlags)queryFlags, queryStart);
316
317
318 if (string.IsNullOrEmpty(queryText))
319 remoteClient.SendDirGroupsReply(queryID, new DirGroupsReplyData[0]);
316 320
317 // TODO: This currently ignores pretty much all the query flags including Mature and sort order 321 // TODO: This currently ignores pretty much all the query flags including Mature and sort order
318 remoteClient.SendDirGroupsReply(queryID, m_groupData.FindGroups(GetRequestingAgentIDStr(remoteClient), queryText).ToArray()); 322 remoteClient.SendDirGroupsReply(queryID, m_groupData.FindGroups(GetRequestingAgentIDStr(remoteClient), queryText).ToArray());