summaryrefslogtreecommitdiff
path: root/duck.go
diff options
context:
space:
mode:
Diffstat (limited to 'duck.go')
-rw-r--r--duck.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/duck.go b/duck.go
index 83e4440..2801125 100644
--- a/duck.go
+++ b/duck.go
@@ -14,9 +14,9 @@ func (_ Duck) WithArgs(_ int) bool { return true }
func (_ Duck) Handle(conn *irc.Conn, line *irc.Line) {
if q := strings.SplitN(line.Text(), " ", 2); len(q) == 2 {
if a, err := duck.Abstract(q[1]); err != nil {
- conn.Privmsg(line.Target(), err.Error())
+ conn.Notice(line.Target(), err.Error())
} else {
- conn.Privmsg(line.Target(), a)
+ conn.Notice(line.Target(), a)
}
}
}