fix comment

This commit is contained in:
Jake Bailey 2016-01-11 16:25:17 -06:00
parent 46ce56c580
commit e670ca970c
1 changed files with 2 additions and 1 deletions

View File

@ -292,7 +292,8 @@ func (conn *Conn) Ping(message string) { conn.Raw(PING + " :" + message) }
func (conn *Conn) Pong(message string) { conn.Raw(PONG + " :" + message) }
// Cap sends a CAP command to the server.
// CAP capability
// CAP subcommand
// CAP subcommand :message
func (conn *Conn) Cap(subcommmand string, message ...string) {
if len(message) == 0 {
conn.Raw(CAP + " " + subcommmand)