3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-30 16:09:27 +01:00

Update modules/link/link.js

Tab fix attempt 2
This commit is contained in:
Daniel Dowling 2013-01-30 17:28:34 +00:00
parent 8d3d5d08a5
commit 5f0bcd7710

View File

@ -35,7 +35,6 @@ var link = function(dbot) {
'~xkcd': function(event) { '~xkcd': function(event) {
var comicId = event.params[1]; var comicId = event.params[1];
if(comicId == "*"){ if(comicId == "*"){
request("http://xkcd.com/info.0.json", function(error, response, body){ request("http://xkcd.com/info.0.json", function(error, response, body){
if (response.statusCode == "200") { if (response.statusCode == "200") {