3
0
mirror of https://github.com/reality/dbot.git synced 2025-01-24 02:54:16 +01:00

return fbman to ri results

This commit is contained in:
reality 2015-02-07 21:54:16 +00:00
parent 2f9133fcee
commit 6b7b5494f6

View File

@ -120,7 +120,7 @@ var imgur = function(dbot) {
}, },
'getGoodRandomImage': function(callback) { 'getGoodRandomImage': function(callback) {
this.api.getRandomImage(function(url, slug, hash) { this.api.getRandomImage(function(url, slug, hash, fbman) {
this.api.getImageInfo(slug, function(imgData) { this.api.getImageInfo(slug, function(imgData) {
if(!_.isUndefined(imgData) && if(!_.isUndefined(imgData) &&
imgData.data && imgData.data &&