Fix crash on nick change
This commit is contained in:
parent
def8cd55a7
commit
0304912f18
@ -120,7 +120,7 @@ func (irc *Connection) setupCallbacks() {
|
|||||||
|
|
||||||
irc.AddCallback("NICK", func(e *Event) {
|
irc.AddCallback("NICK", func(e *Event) {
|
||||||
if e.Nick == irc.nick {
|
if e.Nick == irc.nick {
|
||||||
irc.nickcurrent = e.Arguments[0]
|
irc.nickcurrent = e.Message
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user