aboutsummaryrefslogtreecommitdiffstats
path: root/prosody
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-03-22 14:22:46 +0000
committerMatthew Wild <mwild1@gmail.com>2013-03-22 14:22:46 +0000
commit4f7c31c0f98b9b4fd6ff12e8770dbdd5bff8cea2 (patch)
treeb1bb7539874dc7f64bb74173129613d40fe99e93 /prosody
parent1f4c3c34e97e3def573619480115c6a02300af08 (diff)
parentb8efb428ea0ddea38732edc873281552ffe592e5 (diff)
downloadprosody-4f7c31c0f98b9b4fd6ff12e8770dbdd5bff8cea2.tar.gz
prosody-4f7c31c0f98b9b4fd6ff12e8770dbdd5bff8cea2.zip
Merge 0.9->trunk
Diffstat (limited to 'prosody')
-rwxr-xr-xprosody5
1 files changed, 3 insertions, 2 deletions
diff --git a/prosody b/prosody
index 00fde04c..5802c348 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
@@ -198,6 +198,7 @@ function set_function_metatable()
end
function init_global_state()
+ -- COMPAT: These globals are deprecated
bare_sessions = {};
full_sessions = {};
hosts = {};