diff --git a/src/user.js b/src/user.js index 7a9213a963..f60d03ffd6 100644 --- a/src/user.js +++ b/src/user.js @@ -116,6 +116,7 @@ var async = require('async'), user.administrator = results.isAdmin[index]; user.banned = parseInt(user.banned, 10) === 1; user['email:confirmed'] = parseInt(user['email:confirmed'], 10) === 1; + user.lastonlineISO = utils.toISOString(user.lastonline); } }); plugins.fireHook('filter:userlist.get', {users: results.userData, uid: uid}, next);