From 1d5f635f248e1b0e6f8b64a49ce7f0f6159ef362 Mon Sep 17 00:00:00 2001 From: reality Date: Mon, 19 Aug 2013 17:57:02 +0000 Subject: [PATCH] werent clearing pre-emit hooks on reload DUMBASS --- run.js | 1 + 1 file changed, 1 insertion(+) diff --git a/run.js b/run.js index 839bf21..5b8b58f 100644 --- a/run.js +++ b/run.js @@ -163,6 +163,7 @@ DBot.prototype.reloadModules = function() { require('./snippets'); this.instance.removeListeners(); + this.instance.clearHooks(); var name, moduleDir, config; for(i=0;i