aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-03-24 13:41:18 +0000
committerMatthew Wild <mwild1@gmail.com>2015-03-24 13:41:18 +0000
commit0cbc9ecbecd3caf2bab74dd77abab53ca77691f6 (patch)
treee4fca8b30e86975bf10ef581f281c91603e7eed8 /core
parentc166ec17c2c8bf911877b5810de2555a50afe3ef (diff)
parent45e1b4d1da5e5c9825e23368d8de92c4c5c390de (diff)
downloadprosody-0cbc9ecbecd3caf2bab74dd77abab53ca77691f6.tar.gz
prosody-0cbc9ecbecd3caf2bab74dd77abab53ca77691f6.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 cddaba06..d6cbd2bc 100644
--- a/core/statsmanager.lua
+++ b/core/statsmanager.lua
@@ -28,6 +28,7 @@ if stats_interval then
function collect()
local mark_collection_done = mark_collection_start();
+ fire_event("stats-update");
changed_stats, stats_extra = {}, {};
for stat_name, getter in pairs(stats.get_stats()) do
local type, value, extra = getter();