mirror of
https://github.com/reality/dbot.git
synced 2024-12-25 20:22:39 +01:00
this should fix [#453]
This commit is contained in:
parent
449ad684ad
commit
3541534b76
@ -11,7 +11,7 @@ var imgur = function(dbot) {
|
|||||||
this.internalAPI = {
|
this.internalAPI = {
|
||||||
'infoString': function(imgData) {
|
'infoString': function(imgData) {
|
||||||
info = '';
|
info = '';
|
||||||
if(imgData && _.has(imgData, 'data')) {
|
if(imgData && _.has(imgData, 'data') && !_.isUndefined(imgData.type)) {
|
||||||
imgData = imgData.data;
|
imgData = imgData.data;
|
||||||
if(imgData.title) {
|
if(imgData.title) {
|
||||||
info += imgData.title + ' - ';
|
info += imgData.title + ' - ';
|
||||||
|
Loading…
Reference in New Issue
Block a user