mirror of https://github.com/fluffle/goirc
Fix Readme
This commit is contained in:
parent
a0f52c076f
commit
99fe1b3624
|
@ -28,19 +28,11 @@ Synopsis:
|
||||||
|
|
||||||
// Add handlers to do things here!
|
// Add handlers to do things here!
|
||||||
// e.g. join a channel on connect.
|
// e.g. join a channel on connect.
|
||||||
<<<<<<< HEAD
|
|
||||||
c.HandleFunc(irc.CONNECTED,
|
c.HandleFunc(irc.CONNECTED,
|
||||||
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.HandleFunc(irc.DISCONNECTED,
|
c.HandleFunc(irc.DISCONNECTED,
|
||||||
=======
|
|
||||||
c.HandleFunc("connected",
|
|
||||||
func(conn *irc.Conn, line *irc.Line) { conn.Join("#channel") })
|
|
||||||
// And a signal on disconnect
|
|
||||||
quit := make(chan bool)
|
|
||||||
c.HandleFunc("disconnected",
|
|
||||||
>>>>>>> fluffle/master
|
|
||||||
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