mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user