aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Limit/RepeatLimitStrategy.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Communications/Limit/RepeatLimitStrategy.cs')
-rw-r--r--OpenSim/Framework/Communications/Limit/RepeatLimitStrategy.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Communications/Limit/RepeatLimitStrategy.cs b/OpenSim/Framework/Communications/Limit/RepeatLimitStrategy.cs
index 82122fc..85ff2bd 100644
--- a/OpenSim/Framework/Communications/Limit/RepeatLimitStrategy.cs
+++ b/OpenSim/Framework/Communications/Limit/RepeatLimitStrategy.cs
@@ -80,7 +80,7 @@ namespace OpenSim.Framework.Communications.Limit
80 /// </summary> 80 /// </summary>
81 public bool IsFirstRefusal(TId id) 81 public bool IsFirstRefusal(TId id)
82 { 82 {
83 if (m_maxRequests + 1 == requestCounts[id]) 83 if (requestCounts.ContainsKey(id) && m_maxRequests + 1 == requestCounts[id])
84 { 84 {
85 return true; 85 return true;
86 } 86 }