v1.18.x
pichalite 9 years ago
parent 2f287f11b1
commit 96a5d88314

@ -158,7 +158,7 @@ SocketGroups.kick = isOwner(function(socket, data, callback) {
groups.ownership.isOwner(data.uid, data.groupName, function(err, isOwner) { groups.ownership.isOwner(data.uid, data.groupName, function(err, isOwner) {
if (err) { if (err) {
callback(err); return callback(err);
} }
groups.kick(data.uid, data.groupName, isOwner, callback); groups.kick(data.uid, data.groupName, isOwner, callback);
}); });

Loading…
Cancel
Save