1
0
Fork 0
mirror of https://github.com/fluffle/goirc synced 2025-05-15 12:03:21 +00:00

Pong Ping, What's the difference?

This commit is contained in:
Chris Rhodes 2013-02-15 18:44:00 -08:00
parent 7e62cfb077
commit 86c1156380

View file

@ -167,5 +167,5 @@ func (conn *Conn) Oper(user, pass string) { conn.out <- OPER + " " + user + " "
// A PONG response is to be expected afterwards
func (conn *Conn) Ping(message string) { conn.out <- PING + " :" + message }
// Ping() sends a PONG command to the server
// Pong() sends a PONG command to the server
func (conn *Conn) Pong(message string) { conn.out <- PONG + " :" + message }