mirror of
https://github.com/fluffle/goirc
synced 2025-05-17 04:53:24 +00:00
Fix tests by not calling init in postConnect.
This commit is contained in:
parent
6780338169
commit
93f8683068
1 changed files with 1 additions and 1 deletions
|
@ -185,6 +185,7 @@ func (conn *Conn) Connect(host string, pass ...string) error {
|
|||
}
|
||||
conn.Connected = true
|
||||
conn.postConnect()
|
||||
conn.ED.Dispatch(INIT, conn, &Line{})
|
||||
return nil
|
||||
}
|
||||
|
||||
|
@ -202,7 +203,6 @@ func (conn *Conn) postConnect() {
|
|||
go func() { <-conn.cPing }()
|
||||
}
|
||||
go conn.runLoop()
|
||||
conn.ED.Dispatch(INIT, conn, &Line{})
|
||||
}
|
||||
|
||||
// copied from http.client for great justice
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue