summaryrefslogtreecommitdiff
path: root/rfc.go
diff options
context:
space:
mode:
Diffstat (limited to 'rfc.go')
-rw-r--r--rfc.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/rfc.go b/rfc.go
index 288f645..9dffede 100644
--- a/rfc.go
+++ b/rfc.go
@@ -22,7 +22,8 @@ func (_ RFC) Handle(conn *irc.Conn, line *irc.Line) {
kw := strings.ToLower(f[1])
if e, ok := rfcKW[kw]; ok {
if line.Public() && len(e) > 10 {
- e = append(e[:10], "...")
+ n := fmt.Sprint("... ", len(e), " total")
+ e = append(e[:10], n)
}
s := strings.Join(e, ", ")
conn.Notice(line.Target(), s)