diff options
Diffstat (limited to 'OpenSim/Addons/Groups/GroupsModule.cs')
-rw-r--r-- | OpenSim/Addons/Groups/GroupsModule.cs | 4 |
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()); |