diff --git a/modules/autoshorten.js b/modules/autoshorten.js index a97acd9..7199ec8 100644 --- a/modules/autoshorten.js +++ b/modules/autoshorten.js @@ -19,7 +19,7 @@ var autoshorten = function(dbot) { // TODO: Make this use a decent URL shortener. Mine is shit. var options = { - 'host': dbot.webUrl, + 'host': dbot.webHost, 'port': dbot.webPort, 'path': '/mkurl?url=' + escape(url) }; diff --git a/run.js b/run.js index 0aa79b2..fca7978 100644 --- a/run.js +++ b/run.js @@ -56,7 +56,7 @@ var DBot = function(timers) { // Populate bot properties with config data this.name = this.config.name || 'dbox'; this.admin = this.config.admin || [ 'reality' ]; - this.moduleNames = this.config.modules || [ 'ignore', 'admin', 'command', 'dice', 'js', 'kick', 'puns', 'quotes', 'spelling', 'youare', 'poll' ]; + this.moduleNames = this.config.modules || [ 'ignore', 'admin', 'command', 'dice', 'js', 'kick', 'puns', 'quotes', 'spelling', 'youare' ]; this.language = this.config.language || 'english'; this.webHost = this.config.webHost || 'localhost'; this.webPort = this.config.webPort || 80;