From c07b0c60f323d63de86b308700fe60404f240331 Mon Sep 17 00:00:00 2001 From: Sam Nicholls Date: Wed, 5 Dec 2012 19:13:04 +0000 Subject: [PATCH] dbot.webUrl for autoshorten too --- modules/autoshorten.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/autoshorten.js b/modules/autoshorten.js index 426941a..a97acd9 100644 --- a/modules/autoshorten.js +++ b/modules/autoshorten.js @@ -19,8 +19,8 @@ var autoshorten = function(dbot) { // TODO: Make this use a decent URL shortener. Mine is shit. var options = { - 'host': 'nc.no.de', - 'port': 80, + 'host': dbot.webUrl, + 'port': dbot.webPort, 'path': '/mkurl?url=' + escape(url) };