From 3541534b76d6828e22c4f11a9903be01a424ed90 Mon Sep 17 00:00:00 2001 From: reality Date: Sun, 19 May 2013 09:52:14 +0000 Subject: [PATCH] this should fix [#453] --- modules/imgur/imgur.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/imgur/imgur.js b/modules/imgur/imgur.js index 92cacde..f9ec547 100644 --- a/modules/imgur/imgur.js +++ b/modules/imgur/imgur.js @@ -11,7 +11,7 @@ var imgur = function(dbot) { this.internalAPI = { 'infoString': function(imgData) { info = ''; - if(imgData && _.has(imgData, 'data')) { + if(imgData && _.has(imgData, 'data') && !_.isUndefined(imgData.type)) { imgData = imgData.data; if(imgData.title) { info += imgData.title + ' - ';