diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs index bb0c0c7..594a943 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs | |||
@@ -243,8 +243,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
243 | return item; | 243 | return item; |
244 | lock (contents) | 244 | lock (contents) |
245 | { | 245 | { |
246 | if (contents.Remove(item.Sequence)) | 246 | if (contents.Contains(item.Sequence)) |
247 | return item; | 247 | if (contents.Remove(item.Sequence)) |
248 | return item; | ||
248 | } | 249 | } |
249 | } | 250 | } |
250 | } | 251 | } |