diff options
author | Matthew Wild <mwild1@gmail.com> | 2015-02-24 15:22:34 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2015-02-24 15:22:34 +0000 |
commit | f7786f4031dad5dd2daaf92c7c099448334d892d (patch) | |
tree | bd901b2855478c2157ca69f3a143650499ffe8ea /core/statsmanager.lua | |
parent | ab47a2b002478a36645de1ebfbbbad5815aae08b (diff) | |
parent | f9b9268e61a9dd98c9a438ad4ea2c6e6d92128d9 (diff) | |
download | prosody-f7786f4031dad5dd2daaf92c7c099448334d892d.tar.gz prosody-f7786f4031dad5dd2daaf92c7c099448334d892d.zip |
Merge 0.10->trunk
Diffstat (limited to 'core/statsmanager.lua')
-rw-r--r-- | core/statsmanager.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/statsmanager.lua b/core/statsmanager.lua index 62d217ef..cddaba06 100644 --- a/core/statsmanager.lua +++ b/core/statsmanager.lua @@ -48,6 +48,7 @@ if stats_interval then 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 |