summaryrefslogtreecommitdiff
path: root/rfc.go
diff options
context:
space:
mode:
Diffstat (limited to 'rfc.go')
-rw-r--r--rfc.go6
1 files changed, 3 insertions, 3 deletions
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)
}
}
}