From 0014f6d14ae540deb72b172cae7dcb77de1c814f Mon Sep 17 00:00:00 2001 From: "Christoffer G. Thomsen" Date: Wed, 25 Jul 2012 19:36:47 +0300 Subject: [PATCH 1/2] Inserted missing " --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b9d440e..c329aed 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Synopsis: func(conn *irc.Conn, line *irc.Line) { conn.Join("#channel") }) // And a signal on disconnect quit := make(chan bool) - c.AddHandler("disconnected), + c.AddHandler("disconnected"), func(conn *irc.Conn, line *irc.Line) { quit <- true } // Tell client to connect From d1ff35c156dea595544596cb6621fb8ba7b5910f Mon Sep 17 00:00:00 2001 From: "Christoffer G. Thomsen" Date: Wed, 25 Jul 2012 19:42:00 +0300 Subject: [PATCH 2/2] Fixed another typo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c329aed..5f22864 100644 --- a/README.md +++ b/README.md @@ -28,8 +28,8 @@ Synopsis: func(conn *irc.Conn, line *irc.Line) { conn.Join("#channel") }) // And a signal on disconnect quit := make(chan bool) - c.AddHandler("disconnected"), - func(conn *irc.Conn, line *irc.Line) { quit <- true } + c.AddHandler("disconnected", + func(conn *irc.Conn, line *irc.Line) { quit <- true }) // Tell client to connect if err := c.Connect("irc.freenode.net"); err != nil {