Fixed another typo

This commit is contained in:
Christoffer G. Thomsen 2012-07-25 19:42:00 +03:00
parent f13e1ec7fe
commit 8adfd40223
1 changed files with 2 additions and 2 deletions

View File

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