diff --git a/src/client/auth.js b/src/client/auth.js index 69fcb9c..c618ad8 100644 --- a/src/client/auth.js +++ b/src/client/auth.js @@ -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) } }