mirror of
https://github.com/fluffle/goirc
synced 2025-06-07 07:13:20 +00:00
Fix compile error when NewNick() is called before initialise().
This commit is contained in:
parent
6634869fe6
commit
07d5c0676e
1 changed files with 1 additions and 1 deletions
|
@ -82,9 +82,9 @@ func New(nick, user, name string) *Conn {
|
||||||
Timestamp: time.LocalTime,
|
Timestamp: time.LocalTime,
|
||||||
TSFormat: "15:04:05",
|
TSFormat: "15:04:05",
|
||||||
}
|
}
|
||||||
conn.Me = conn.NewNick(nick, user, name, "")
|
|
||||||
conn.initialise()
|
conn.initialise()
|
||||||
conn.setupEvents()
|
conn.setupEvents()
|
||||||
|
conn.Me = conn.NewNick(nick, user, name, "")
|
||||||
return conn
|
return conn
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue