summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-12-25 14:51:25 +0100
committerDimitri Sokolyuk <demon@dim13.org>2016-12-25 14:51:25 +0100
commit422a15a09efd2d44fe53c5ce2c46bc8b5aee08e6 (patch)
tree7a795a52be025dc98fd22e38f71c791c7aa4de10 /main.go
parentb646b6d6b5d6715fe80d3eb508c8bcda937145b9 (diff)
last
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 2ff436c..e2fd650 100644
--- a/main.go
+++ b/main.go
@@ -38,7 +38,7 @@ func kicker(conn *irc.Conn, channel string) chan string {
}
func privmsg(note, kick chan string) irc.HandlerFunc {
- last := NewLastBuf(10)
+ last := NewLast(10)
links := linker(note)
return func(conn *irc.Conn, line *irc.Line) {
switch t := line.Text(); {