diff --git a/modules/autoshorten.js b/modules/autoshorten.js index 7ccdb6d..72d2a5d 100644 --- a/modules/autoshorten.js +++ b/modules/autoshorten.js @@ -11,7 +11,7 @@ var autoshorten = function(dbot) { var site = http.createClient(80, 'http://nc.no.de'); var request = site.request("GET", 'mkurl', { 'host' : 'http://nc.no.de/', - 'url' + url}); + 'url': url}); request.end(); request.on('response', function(response) {