aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/PacketPool.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/PacketPool.cs b/OpenSim/Framework/PacketPool.cs
index 9e1d56d..1b486aa 100644
--- a/OpenSim/Framework/PacketPool.cs
+++ b/OpenSim/Framework/PacketPool.cs
@@ -142,7 +142,7 @@ namespace OpenSim.Framework
142 { 142 {
143 PacketType type = packet.Type; 143 PacketType type = packet.Type;
144 144
145 if (pool[type] == null) 145 if (!pool.ContainsKey(type))
146 { 146 {
147 pool[type] = new Stack<Packet>(); 147 pool[type] = new Stack<Packet>();
148 } 148 }