projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge 0.9->0.10
[prosody.git]
/
core
/
statsmanager.lua
diff --git
a/core/statsmanager.lua
b/core/statsmanager.lua
index 62d217ef2a9f2832cadee65a1f46d0ef82afd401..cddaba06efdd93611126b0e10eb597157c27691c 100644
(file)
--- 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