diff --git a/irc.go b/irc.go index dca8855..3e1edd0 100644 --- a/irc.go +++ b/irc.go @@ -22,7 +22,7 @@ type Connection struct { channels []string } -//SendPong replies to the recieved PING +//SendPong replies to the received PING func (c *Connection) SendPong(ping string) { pong := strings.Replace(ping, "PING", "PONG", 1) c.Sock.Write([]byte(fmt.Sprintf("%s\n", pong)))