diff --git a/modules/web.js b/modules/web.js index b188487..e3ac0fa 100644 --- a/modules/web.js +++ b/modules/web.js @@ -37,7 +37,7 @@ var webInterface = function(dbot) { res.render('quotes', { 'name': dbot.name, 'quotes': dbot.db.quoteArrs[rCategory], locals: { 'url_regex': RegExp.prototype.url_regex() } }); }); - app.listen(443); + app.listen(dbot.webPort); return { 'onDestroy': function() { diff --git a/run.js b/run.js index 0390b3f..be242b4 100644 --- a/run.js +++ b/run.js @@ -44,6 +44,7 @@ var DBot = function(timers) { this.nickserv = this.config.nickserv || 'zippy'; this.server = this.config.server || 'elara.ivixor.net'; this.port = this.config.port || 6667; + this.webPort = this.config.webPort || 443; this.moduleNames = this.config.modules || [ 'command', 'js', 'admin', 'kick', 'modehate', 'quotes', 'puns', 'spelling', 'web', 'youare' ]; this.timers = timers.create();