spelling fix

This commit is contained in:
blackbeard420 2020-01-05 17:45:55 -05:00
parent 446ab2cfa4
commit fd2bcf9b44

2
irc.go
View File

@ -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)))