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

wtf was that there for?

This commit is contained in:
reality 2018-02-10 12:40:27 +00:00
parent 777d738394
commit 4f269a5c02

4
run.js
View File

@ -128,10 +128,6 @@ DBot.prototype.save = function(cb) {
// Hot-reload module files.
DBot.prototype.reloadModules = function() {
this.save().then(function() {
console.log('test');
});
if(this.modules) { // Run 'onDestroy' code for each module if it exists.
_.each(this.modules, function(module) {
if(module.onDestroy) {