diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/TokenBucket.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/TokenBucket.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/TokenBucket.cs b/OpenSim/Region/ClientStack/Linden/UDP/TokenBucket.cs index 14099fe..fd369c4 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/TokenBucket.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/TokenBucket.cs | |||
@@ -289,7 +289,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
289 | public int GetCatBytesCanSend(int timeMS) | 289 | public int GetCatBytesCanSend(int timeMS) |
290 | { | 290 | { |
291 | // return (int)(m_tokenCount + timeMS * m_dripRate * 1e-3); | 291 | // return (int)(m_tokenCount + timeMS * m_dripRate * 1e-3); |
292 | return (int)(timeMS * m_dripRate * 1e-3); | 292 | return (int)(timeMS * DripRate * 1e-3); |
293 | } | 293 | } |
294 | 294 | ||
295 | /// <summary> | 295 | /// <summary> |