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

Nobody loves autoshorten. Removed poll from default module list.

This commit is contained in:
Sam Nicholls 2012-12-06 19:37:39 +00:00
parent 78837f9da1
commit 7ab477b448
2 changed files with 2 additions and 2 deletions

View File

@ -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)
};

2
run.js
View File

@ -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;