add a few more parens to make sure that throttling condition

is really happening the way we want it to.
afrisby
Sean Dague 2007-11-29 16:32:19 +00:00
parent 7704bb6f63
commit 641e541967
1 changed files with 1 additions and 1 deletions

View File

@ -2371,7 +2371,7 @@ namespace OpenSim.Region.ClientStack
// wait for the timer to fire to put things into the // wait for the timer to fire to put things into the
// output queue // output queue
if(q.Count == 0 && TypeBytesSent <= ((int)(Throttle / throttleTimeDivisor))) if((q.Count == 0) && (TypeBytesSent <= ((int)(Throttle / throttleTimeDivisor))))
{ {
bytesSent += item.Packet.ToBytes().Length; bytesSent += item.Packet.ToBytes().Length;
TypeBytesSent += item.Packet.ToBytes().Length; TypeBytesSent += item.Packet.ToBytes().Length;