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

that was dumb

This commit is contained in:
reality 2015-07-19 17:03:18 +00:00
parent 5f8cbe3fb1
commit cf509cb3c5

View File

@ -53,7 +53,9 @@ var admin = function(dbot) {
}; };
this.onLoad = function() { this.onLoad = function() {
dbot.api.timers.addTimer(60000, dbot.save); dbot.api.timers.addTimer(60000, function() {
dbot.save();
});
}; };
}; };