From 4c6842acba07a0a9baf442cd4e89074a492374c0 Mon Sep 17 00:00:00 2001 From: Jake Bailey Date: Tue, 12 Jan 2016 20:02:46 -0600 Subject: [PATCH] link to spec --- client/line.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/client/line.go b/client/line.go index 89459ef..ad428e2 100644 --- a/client/line.go +++ b/client/line.go @@ -107,7 +107,11 @@ func (line *Line) Public() bool { // set to CTCP or CTCPREPLY, and the CTCP command prepended to line.Args. // // ParseLine also parses IRCv3 tags, if received. If a line does not have -// the tags section, Line.Tags will be nil. +// the tags section, Line.Tags will be nil. Tags are optional, and will +// only be included after the correct CAP command. +// +// http://ircv3.net/specs/core/capability-negotiation-3.1.html +// http://ircv3.net/specs/core/message-tags-3.2.html func ParseLine(s string) *Line { line := &Line{Raw: s}