summaryrefslogtreecommitdiff
path: root/flood.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2018-07-24 15:44:40 +0200
committerDimitri Sokolyuk <demon@dim13.org>2018-07-24 15:44:40 +0200
commit53306e6ec77997d9fef102ec4b2cfc8c2b31e176 (patch)
tree3e7fa1b8e2b5962956ea58f27a378dba69f9f21d /flood.go
parent40b39219ac8104fb048debed6fca6f24fe8cb15f (diff)
...
Diffstat (limited to 'flood.go')
-rw-r--r--flood.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/flood.go b/flood.go
index 55a076e..c741bd6 100644
--- a/flood.go
+++ b/flood.go
@@ -24,7 +24,6 @@ func entropy(s string) (e float64) {
}
func isFlood(s string) bool {
- s = strings.TrimSpace(s)
if utf8.RuneCountInString(s) <= runes {
return false
}