mirror of https://github.com/fluffle/goirc
*cough* I should pay more attention when merging...
This commit is contained in:
parent
036cc4c3eb
commit
9b9197f5f6
|
@ -117,8 +117,8 @@ func (conn *Conn) Connect(host string, ssl bool, pass ...string) os.Error {
|
||||||
go conn.send()
|
go conn.send()
|
||||||
go conn.recv()
|
go conn.recv()
|
||||||
|
|
||||||
if pass != "" {
|
if len(pass) > 0 {
|
||||||
conn.Pass(pass)
|
conn.Pass(pass[0])
|
||||||
}
|
}
|
||||||
conn.Nick(conn.Me.Nick)
|
conn.Nick(conn.Me.Nick)
|
||||||
conn.User(conn.Me.Ident, conn.Me.Name)
|
conn.User(conn.Me.Ident, conn.Me.Name)
|
||||||
|
|
Loading…
Reference in New Issue