mirror of
https://github.com/fluffle/goirc
synced 2025-05-12 18:44:50 +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,
|
||||
TSFormat: "15:04:05",
|
||||
}
|
||||
conn.Me = conn.NewNick(nick, user, name, "")
|
||||
conn.initialise()
|
||||
conn.setupEvents()
|
||||
conn.Me = conn.NewNick(nick, user, name, "")
|
||||
return conn
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue