mirror of
https://github.com/reality/dbot.git
synced 2024-12-24 19:52:36 +01:00
remove unnecessary else
This commit is contained in:
parent
a38f807f22
commit
3bfc82c7bc
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user