*cough* I should pay more attention when merging...

This commit is contained in:
Alex Bramley 2010-10-24 10:06:18 +01:00
parent 036cc4c3eb
commit 9b9197f5f6
1 changed files with 2 additions and 2 deletions

View File

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