From 6e30eab40b911e7abc168f1380465e599395587e Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Wed, 29 Jul 2015 19:27:37 +0200 Subject: Replace Privmsg with Notice --- rfc.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rfc.go') diff --git a/rfc.go b/rfc.go index b76b789..b083216 100644 --- a/rfc.go +++ b/rfc.go @@ -23,9 +23,9 @@ func (_ RFC) Handle(conn *irc.Conn, line *irc.Line) { kw := strings.ToLower(f[1]) if e, ok := rfcKW[kw]; ok { s := strings.Join(e, ", ") - conn.Privmsg(line.Target(), s) + conn.Notice(line.Target(), s) } else { - conn.Privmsg(line.Target(), "no matches") + conn.Notice(line.Target(), "no matches") } } } @@ -37,7 +37,7 @@ func ExtractRFC(conn *irc.Conn, line *irc.Line) { if _, err := fmt.Sscanf(w, "RFC%d", &id); err == nil { if entry, ok := rfcMap[id]; ok { s := fmt.Sprint(entry) - conn.Privmsg(line.Target(), s) + conn.Notice(line.Target(), s) } } } -- cgit v1.2.3