Software /
code /
prosody
Diff
core/statsmanager.lua @ 6581:f2a7ad099e01
Merge 0.10->trunk
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 24 Feb 2015 15:22:34 +0000 |
parent | 6577:1e749832ed3b |
child | 6582:71b5de1d830b |
line wrap: on
line diff
--- a/core/statsmanager.lua Mon Feb 23 00:30:01 2015 +0000 +++ b/core/statsmanager.lua Tue Feb 24 15:22:34 2015 +0000 @@ -48,6 +48,7 @@ end timer.add_task(stats_interval, collect); + prosody.events.add_handler("server-started", function () collect() end, -1); else log("debug", "Statistics collection is disabled"); -- nop