aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLPacketThrottle.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketThrottle.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketThrottle.cs
index 70a9dec..31efee7 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketThrottle.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketThrottle.cs
@@ -100,6 +100,18 @@ namespace OpenSim.Region.ClientStack.LindenUDP
100 get { return m_currentThrottle; } 100 get { return m_currentThrottle; }
101 set 101 set
102 { 102 {
103 if (value < m_minAllowableThrottle)
104 {
105 m_currentThrottle = m_minAllowableThrottle;
106 CalcBits();
107 return;
108 }
109 if (value > m_maxAllowableThrottle)
110 {
111 m_currentThrottle = m_maxAllowableThrottle;
112 CalcBits();
113 return;
114 }
103 m_currentThrottle = value; 115 m_currentThrottle = value;
104 116
105 CalcBits(); 117 CalcBits();