added session data to session even

This commit is contained in:
plexigras 2018-06-03 17:57:03 +02:00
parent b8d38918c4
commit 4560c1948f

View file

@ -15,7 +15,7 @@ module.exports = function (client, options) {
client.session = session
client.username = session.selectedProfile.name
options.accessToken = session.accessToken
client.emit('session')
client.emit('session', session)
options.connect(client)
}
}