From 641e541967264a0048331b46c8956be2d0b72798 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Thu, 29 Nov 2007 16:32:19 +0000 Subject: [PATCH] add a few more parens to make sure that throttling condition is really happening the way we want it to. --- OpenSim/Region/ClientStack/ClientView.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs index 8b93c5f106..90002c389f 100644 --- a/OpenSim/Region/ClientStack/ClientView.cs +++ b/OpenSim/Region/ClientStack/ClientView.cs @@ -2371,7 +2371,7 @@ namespace OpenSim.Region.ClientStack // wait for the timer to fire to put things into the // output queue - if(q.Count == 0 && TypeBytesSent <= ((int)(Throttle / throttleTimeDivisor))) + if((q.Count == 0) && (TypeBytesSent <= ((int)(Throttle / throttleTimeDivisor)))) { bytesSent += item.Packet.ToBytes().Length; TypeBytesSent += item.Packet.ToBytes().Length;