From cf509cb3c55d771f8debdbad2fd2b5cf6d38602d Mon Sep 17 00:00:00 2001 From: reality Date: Sun, 19 Jul 2015 17:03:18 +0000 Subject: [PATCH] that was dumb --- modules/admin/admin.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/admin/admin.js b/modules/admin/admin.js index 6e29fa8..8ef99c4 100644 --- a/modules/admin/admin.js +++ b/modules/admin/admin.js @@ -53,7 +53,9 @@ var admin = function(dbot) { }; this.onLoad = function() { - dbot.api.timers.addTimer(60000, dbot.save); + dbot.api.timers.addTimer(60000, function() { + dbot.save(); + }); }; };