werent clearing pre-emit hooks on reload DUMBASS

This commit is contained in:
reality 2013-08-19 17:57:02 +00:00
parent 74ec643208
commit 1d5f635f24

1
run.js
View File

@ -163,6 +163,7 @@ DBot.prototype.reloadModules = function() {
require('./snippets');
this.instance.removeListeners();
this.instance.clearHooks();
var name, moduleDir, config;
for(i=0;i<moduleNames.length;i++) {