diff --git a/modules/link/link.js b/modules/link/link.js index f30c015..b72e8e8 100644 --- a/modules/link/link.js +++ b/modules/link/link.js @@ -47,10 +47,8 @@ var link = function(dbot) { } catch(err) { }; }); } else { - if(comicId) { + if(comicId !== "") { comicId = comicId + "/"; - } else { - comicId = ""; } var link = "http://xkcd.com/"+comicId+"info.0.json";