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