mirror of
https://github.com/fluffle/goirc
synced 2025-05-12 18:44:50 +00:00
fix comment
This commit is contained in:
parent
46ce56c580
commit
e670ca970c
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue