Stats are saved on cron

This commit is contained in:
yago 2015-04-12 23:53:42 +02:00
parent 22ad75c977
commit b39ce5dd87

View File

@ -98,7 +98,6 @@ local function run(msg, matches)
end
else
update_user_stats(msg)
save_stats()
end
end
@ -111,7 +110,8 @@ return {
"^!(stats)",
".*"
},
run = run
run = run,
cron = save_stats
}
end