diff options
author | Dimitri Sokolyuk <demon@dim13.org> | 2015-10-11 18:39:06 +0200 |
---|---|---|
committer | Dimitri Sokolyuk <demon@dim13.org> | 2015-10-11 18:39:06 +0200 |
commit | 8c8ade9fd2fe6dfbad79e8e9262508b6b224f4a3 (patch) | |
tree | d3f7e9a7d5c653b5fa115f9687349d9fb4499b6c /flood.go | |
parent | 911b7a7f73b1d53c2d5ae824f71d8261f4d5f939 (diff) |
Bump min lenth
Diffstat (limited to 'flood.go')
-rw-r--r-- | flood.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,7 +22,7 @@ func Entropy(s string) (e float64) { } func Flood(s string) bool { - if utf8.RuneCountInString(s) < 4 { + if utf8.RuneCountInString(s) <= 6 { return false } if v := strings.Fields(s); len(v) >= 6 { |