3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-24 04:49:25 +01:00

remove unnecessary else

This commit is contained in:
Luke Slater 2013-01-31 18:53:58 +01:00
parent a38f807f22
commit 3bfc82c7bc

View File

@ -47,10 +47,8 @@ var link = function(dbot) {
} catch(err) { }; } catch(err) { };
}); });
} else { } else {
if(comicId) { if(comicId !== "") {
comicId = comicId + "/"; comicId = comicId + "/";
} else {
comicId = "";
} }
var link = "http://xkcd.com/"+comicId+"info.0.json"; var link = "http://xkcd.com/"+comicId+"info.0.json";