diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.cs | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs index 839556d..353a24c 100644 --- a/OpenSim/Region/ClientStack/ClientView.cs +++ b/OpenSim/Region/ClientStack/ClientView.cs | |||
@@ -295,11 +295,16 @@ namespace OpenSim.Region.ClientStack | |||
295 | queuedLast = false; | 295 | queuedLast = false; |
296 | 296 | ||
297 | // TODO: May be a bit expensive doing this twice. | 297 | // TODO: May be a bit expensive doing this twice. |
298 | throttleSentPeriod += nextPacket.Packet.ToBytes().Length; | 298 | |
299 | 299 | //Don't throttle AvatarPickerReplies!, they return a null .ToBytes()! | |
300 | //is a out going packet | 300 | if (nextPacket.Packet.Type != PacketType.AvatarPickerReply) |
301 | DebugPacket("OUT", nextPacket.Packet); | 301 | throttleSentPeriod += nextPacket.Packet.ToBytes().Length; |
302 | ProcessOutPacket(nextPacket.Packet); | 302 | |
303 | |||
304 | //is a out going packet | ||
305 | DebugPacket("OUT", nextPacket.Packet); | ||
306 | ProcessOutPacket(nextPacket.Packet); | ||
307 | |||
303 | } | 308 | } |
304 | } | 309 | } |
305 | } | 310 | } |