fix moderators

This commit is contained in:
barisusakli
2014-11-09 00:33:26 -05:00
parent 8294aec5e7
commit 420aa5e102
3 changed files with 30 additions and 46 deletions

View File

@@ -140,6 +140,10 @@ var async = require('async'),
});
};
Groups.getMembers = function(groupName, callback) {
db.getSetMembers('group:' + groupName + ':members', callback);
};
Groups.search = function(query, options, callback) {
if (!query) {
return callback(null, []);