add a few more parens to make sure that throttling condition

is really happening the way we want it to.
This commit is contained in:
Sean Dague
2007-11-29 16:32:19 +00:00
parent 7704bb6f63
commit 641e541967

View File

@@ -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;