diff options
author | Diego Martinez <kaeza@users.sf.net> | 2014-05-20 00:09:23 -0300 |
---|---|---|
committer | Diego Martinez <kaeza@users.sf.net> | 2014-05-20 00:10:55 -0300 |
commit | 2b51822b3e04c8cad168034cfbdb176cb4f3ec00 (patch) | |
tree | 0665dfe68689ead4a8efc552b3f57612b8209614 /init.lua | |
parent | 7409fd1be82489be021355b1e16e51174619652b (diff) |
Remove DB backup.
Haters gonna hate.
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -4,7 +4,6 @@ xban = { } local MP = minetest.get_modpath(minetest.get_current_modname()) dofile(MP.."/serialize.lua") -dofile(MP.."/shutil.lua") local db = { } local tempbans = { } @@ -261,10 +260,6 @@ local function load_db() end end --- Backup database -shutil.copy_file(DB_FILENAME, - DB_FILENAME.."."..os.date("%Y%m%d%H%M%S")) - minetest.register_on_shutdown(save_db) minetest.after(SAVE_INTERVAL, save_db) load_db() |