1
0
Fork 0
mirror of https://github.com/fluffle/goirc synced 2025-05-12 18:44:50 +00:00

fix comment

This commit is contained in:
Jake Bailey 2016-01-11 16:25:17 -06:00
parent 46ce56c580
commit e670ca970c

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)