From 0f0e935c3673b94a715fd12404876fa1909b6268 Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Wed, 14 Sep 2011 17:28:00 +0100 Subject: [PATCH] Remove from general population for a bit. test ondestroy --- modules/web.js | 1 + run.js | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/web.js b/modules/web.js index f4dfd16..9a26d79 100644 --- a/modules/web.js +++ b/modules/web.js @@ -19,6 +19,7 @@ var webInterface = function(dbot) { return { 'onDestroy': function() { + console.log('on destroy'); process.exit(); } }; diff --git a/run.js b/run.js index e35ed4f..4a788ec 100644 --- a/run.js +++ b/run.js @@ -14,10 +14,6 @@ var DBot = function(dModules, timers) { this.instance = jsbot.createJSBot(this.name, 'elara.ivixor.net', 6667, this, function() { this.instance.join('#realitest'); - this.instance.join('#fail'); - this.instance.join('#42'); - this.instance.join('#itonlygetsworse'); - this.instance.join('#plur'); }.bind(this)); this.moduleNames = dModules;