aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/PacketThrottle.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack/PacketThrottle.cs')
-rw-r--r--OpenSim/Region/ClientStack/PacketThrottle.cs11
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/PacketThrottle.cs b/OpenSim/Region/ClientStack/PacketThrottle.cs
index 30d7c25..0f52802 100644
--- a/OpenSim/Region/ClientStack/PacketThrottle.cs
+++ b/OpenSim/Region/ClientStack/PacketThrottle.cs
@@ -89,7 +89,16 @@ namespace OpenSim.Region.ClientStack
89 public int Throttle 89 public int Throttle
90 { 90 {
91 get {return throttle;} 91 get {return throttle;}
92 set {throttle = value;} 92 set
93 {
94 if (value > max) {
95 throttle = max;
96 } else if (value < min) {
97 throttle = min;
98 } else {
99 throttle = value;
100 }
101 }
93 } 102 }
94 } 103 }
95} \ No newline at end of file 104} \ No newline at end of file