From 48a297e80c605ac4b47a03e25fd1ccc33f4ba4c5 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Thu, 13 Sep 2012 00:32:12 +0500 Subject: hostmanager, modulemanager: Ensure hosts[*].modules always exists. --- core/hostmanager.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'core/hostmanager.lua') 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"; -- cgit v1.2.3