From 515e80d5267ad5f0c830d754b8a856d850028132 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 22 Mar 2013 11:21:24 +0000 Subject: configmanager, hostmanager, prosody: Almost complete removal of section-related code, and the infamous 'core' section. Still backwards-compatible with API users. --- prosody | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'prosody') diff --git a/prosody b/prosody index 00fde04c..481b3f06 100755 --- a/prosody +++ b/prosody @@ -132,8 +132,8 @@ end function sanity_check() for host, host_config in pairs(config.getconfig()) do if host ~= "*" - and host_config.core.enabled ~= false - and not host_config.core.component_module then + and host_config.enabled ~= false + and not host_config.component_module then return; end end -- cgit v1.2.3 From 68f6dcb14af830b887daf988d54f6aa847b473a1 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 22 Mar 2013 11:22:50 +0000 Subject: prosody: Add COMPAT note about globals --- prosody | 1 + 1 file changed, 1 insertion(+) (limited to 'prosody') diff --git a/prosody b/prosody index 481b3f06..5802c348 100755 --- a/prosody +++ b/prosody @@ -198,6 +198,7 @@ function set_function_metatable() end function init_global_state() + -- COMPAT: These globals are deprecated bare_sessions = {}; full_sessions = {}; hosts = {}; -- cgit v1.2.3