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 | c166ec17c2c8bf911877b5810de2555a50afe3ef (patch) | |
tree | bd901b2855478c2157ca69f3a143650499ffe8ea /core/statsmanager.lua | |
parent | 01a5895abafc01cde29b8ccac63137af370caa27 (diff) | |
parent | a65615d8f2430de97cb1c426a018f84e3c2d6f99 (diff) | |
download | prosody-c166ec17c2c8bf911877b5810de2555a50afe3ef.tar.gz prosody-c166ec17c2c8bf911877b5810de2555a50afe3ef.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 |