From fd2bcf9b44f551f38faff673642868ad4fd4e663 Mon Sep 17 00:00:00 2001 From: blackbeard420 Date: Sun, 5 Jan 2020 17:45:55 -0500 Subject: [PATCH] spelling fix --- irc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)))