fix minor issue where bot tries to set its nick every 15 minutes,
even if it has the wanted nick.
This commit is contained in:
@@ -110,4 +110,8 @@ func (irc *IRCConnection) setupCallbacks() {
|
||||
irc.nickcurrent = e.Arguments[0]
|
||||
}
|
||||
})
|
||||
|
||||
irc.AddCallback("001", func(e *IRCEvent) {
|
||||
irc.nickcurrent = e.Arguments[0]
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user