mirror of https://github.com/fluffle/goirc
Inserted missing "
This commit is contained in:
parent
c85f891c6b
commit
f13e1ec7fe
|
@ -28,7 +28,7 @@ Synopsis:
|
||||||
func(conn *irc.Conn, line *irc.Line) { conn.Join("#channel") })
|
func(conn *irc.Conn, line *irc.Line) { conn.Join("#channel") })
|
||||||
// And a signal on disconnect
|
// And a signal on disconnect
|
||||||
quit := make(chan bool)
|
quit := make(chan bool)
|
||||||
c.AddHandler("disconnected),
|
c.AddHandler("disconnected"),
|
||||||
func(conn *irc.Conn, line *irc.Line) { quit <- true }
|
func(conn *irc.Conn, line *irc.Line) { quit <- true }
|
||||||
|
|
||||||
// Tell client to connect
|
// Tell client to connect
|
||||||
|
|
Loading…
Reference in New Issue