Send a null result search packet when no results are passsed in
							parent
							
								
									87a6554d4b
								
							
						
					
					
						commit
						5b4e0b72bc
					
				|  | @ -2724,6 +2724,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | ||||||
|             DirPlacesReplyPacket.StatusDataBlock[] status = |             DirPlacesReplyPacket.StatusDataBlock[] status = | ||||||
|                     new DirPlacesReplyPacket.StatusDataBlock[0]; |                     new DirPlacesReplyPacket.StatusDataBlock[0]; | ||||||
| 
 | 
 | ||||||
|  |             packet.QueryReplies = replies; | ||||||
|  |             packet.StatusData = status; | ||||||
|  | 
 | ||||||
|             foreach (DirPlacesReplyData d in data) |             foreach (DirPlacesReplyData d in data) | ||||||
|             { |             { | ||||||
|                 int idx = replies.Length; |                 int idx = replies.Length; | ||||||
|  | @ -2762,7 +2765,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|             if (replies.Length > 0) |             if (replies.Length > 0 || data.Length == 0) | ||||||
|                 OutPacket(packet, ThrottleOutPacketType.Task); |                 OutPacket(packet, ThrottleOutPacketType.Task); | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Melanie
						Melanie