summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-12-25 17:30:34 +0100
committerDimitri Sokolyuk <demon@dim13.org>2016-12-25 17:30:34 +0100
commita04048625848c4aeab33e3e2dce24e006ebe59e1 (patch)
tree5543304aaf500171c4d5d62f9a79c00946db29e5
parentfc1b0999a35bba9760d9d58395fb04581784c160 (diff)
Bump # of messages per second
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index c884fe5..b2e3abf 100644
--- a/main.go
+++ b/main.go
@@ -41,7 +41,7 @@ func kicker(conn *irc.Conn, channel string) chan string {
func privmsg(note, kick chan string) irc.HandlerFunc {
last := NewLast(10)
links := linker(note)
- wl := NewWatchList(3, 5*time.Second)
+ wl := NewWatchList(5, 5*time.Second)
return func(conn *irc.Conn, line *irc.Line) {
switch t := line.Text(); {
case isFlood(t):