aboutsummaryrefslogtreecommitdiffstats
path: root/core/hostmanager.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2012-09-13 00:32:12 +0500
committerWaqas Hussain <waqas20@gmail.com>2012-09-13 00:32:12 +0500
commit48a297e80c605ac4b47a03e25fd1ccc33f4ba4c5 (patch)
tree57d3d41468b9846ef35968f3d5713c866c9401cb /core/hostmanager.lua
parentaff71e544ec119a81412f2b583c4de5fbe532fb5 (diff)
downloadprosody-48a297e80c605ac4b47a03e25fd1ccc33f4ba4c5.tar.gz
prosody-48a297e80c605ac4b47a03e25fd1ccc33f4ba4c5.zip
hostmanager, modulemanager: Ensure hosts[*].modules always exists.
Diffstat (limited to 'core/hostmanager.lua')
-rw-r--r--core/hostmanager.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/hostmanager.lua b/core/hostmanager.lua
index 3c90dbb9..cee4a1d6 100644
--- a/core/hostmanager.lua
+++ b/core/hostmanager.lua
@@ -75,6 +75,7 @@ function activate(host, host_config)
events = events_new();
dialback_secret = configmanager.get(host, "core", "dialback_secret") or uuid_gen();
send = host_send;
+ modules = {};
};
if not host_config.core.component_module then -- host
host_session.type = "local";