diff options
Diffstat (limited to 'replay/replay.go')
-rw-r--r-- | replay/replay.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/replay/replay.go b/replay/replay.go index fac7ab2..f140272 100644 --- a/replay/replay.go +++ b/replay/replay.go @@ -34,7 +34,7 @@ func (f *Filter) Reset() { // ValidateCounter checks if the counter should be accepted. // Overlimit counters (>= limit) are always rejected. -func (f *Filter) ValidateCounter(counter uint64, limit uint64) bool { +func (f *Filter) ValidateCounter(counter, limit uint64) bool { if counter >= limit { return false } |