Merge pull request #2088 from simong/padUsersCallback

Addressed a potential never finishing forEach in PadMessageHandler.padUsers
pull/2101/head
Marcel Klehr 2014-02-26 22:50:29 +01:00
commit 8b572b888c
1 changed files with 2 additions and 0 deletions

View File

@ -1570,6 +1570,8 @@ exports.padUsers = function (padID, callback) {
result.push(author);
callback();
});
} else {
callback();
}
}, function(err) {
if(ERR(err, callback)) return;