link to spec

This commit is contained in:
Jake Bailey 2016-01-12 20:02:46 -06:00
parent 20ef362b1d
commit 4c6842acba
1 changed files with 5 additions and 1 deletions

View File

@ -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}