aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-02-24 15:22:34 +0000
committerMatthew Wild <mwild1@gmail.com>2015-02-24 15:22:34 +0000
commitf7786f4031dad5dd2daaf92c7c099448334d892d (patch)
treebd901b2855478c2157ca69f3a143650499ffe8ea /core
parentab47a2b002478a36645de1ebfbbbad5815aae08b (diff)
parentf9b9268e61a9dd98c9a438ad4ea2c6e6d92128d9 (diff)
downloadprosody-f7786f4031dad5dd2daaf92c7c099448334d892d.tar.gz
prosody-f7786f4031dad5dd2daaf92c7c099448334d892d.zip
Merge 0.10->trunk
Diffstat (limited to 'core')
-rw-r--r--core/statsmanager.lua1
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