diff options
Diffstat (limited to 'linden/indra/llcommon/llkeythrottle.h')
-rw-r--r-- | linden/indra/llcommon/llkeythrottle.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/linden/indra/llcommon/llkeythrottle.h b/linden/indra/llcommon/llkeythrottle.h index c2dc9d2..8314269 100644 --- a/linden/indra/llcommon/llkeythrottle.h +++ b/linden/indra/llcommon/llkeythrottle.h | |||
@@ -192,10 +192,7 @@ public: | |||
192 | { | 192 | { |
193 | noteAction(id); | 193 | noteAction(id); |
194 | typename LLKeyThrottleImpl<T>::Entry& curr = (*m.currMap)[id]; | 194 | typename LLKeyThrottleImpl<T>::Entry& curr = (*m.currMap)[id]; |
195 | if (curr.count < m.countLimit) | 195 | curr.count = llmax(m.countLimit, curr.count); |
196 | { | ||
197 | curr.count = m.countLimit; | ||
198 | } | ||
199 | curr.blocked = TRUE; | 196 | curr.blocked = TRUE; |
200 | } | 197 | } |
201 | 198 | ||