This commit is contained in:
Mark 2013-02-13 07:37:19 -08:00
commit 22e717a5f5

View file

@ -1429,7 +1429,7 @@ function composePadChangesets(padId, startNum, endNum, callback)
*/
exports.padUsersCount = function (padID, callback) {
callback(null, {
padUsersCount: socketio.sockets.clients(padId).length
padUsersCount: socketio.sockets.clients(padID).length
});
}