From f13e1ec7fe8e70336e8851f82b32bbaf44346288 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 8adfd40223d9a316079ed4bb5d334e53a94c91e7 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 {