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:
parent
777d738394
commit
4f269a5c02
4
run.js
4
run.js
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user