summaryrefslogtreecommitdiff
path: root/flood.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-10-11 18:39:06 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-10-11 18:39:06 +0200
commit8c8ade9fd2fe6dfbad79e8e9262508b6b224f4a3 (patch)
treed3f7e9a7d5c653b5fa115f9687349d9fb4499b6c /flood.go
parent911b7a7f73b1d53c2d5ae824f71d8261f4d5f939 (diff)
Bump min lenth
Diffstat (limited to 'flood.go')
-rw-r--r--flood.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/flood.go b/flood.go
index 356ab89..21acb47 100644
--- a/flood.go
+++ b/flood.go
@@ -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 {