summaryrefslogtreecommitdiff
path: root/top.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-07-29 19:27:37 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-07-29 19:27:37 +0200
commit6e30eab40b911e7abc168f1380465e599395587e (patch)
tree2524fa3342f94de005dfaafec601a46029670b91 /top.go
parent0cd984ce8208816b048fb3badfd24ef218f8c778 (diff)
Replace Privmsg with Notice
Diffstat (limited to 'top.go')
-rw-r--r--top.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/top.go b/top.go
index 10a557f..80c40d9 100644
--- a/top.go
+++ b/top.go
@@ -14,7 +14,7 @@ func (_ Top) Handle(conn *irc.Conn, line *irc.Line) {
n = 10
}
s := fmt.Sprint(NewScores(n))
- conn.Privmsg(line.Target(), s)
+ conn.Notice(line.Target(), s)
}
func init() {