aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-03-29 16:38:35 +0200
committerKim Alvefur <zash@zash.se>2018-03-29 16:38:35 +0200
commit38a5e6ec34d6d9b66f71a95bfe0e7d33f0dc6183 (patch)
treef32ff56a0e924767df34e7bf922895b5606871cb /util
parent100f78a8033192bde4e307779910f4e58f0dd8ec (diff)
downloadprosody-38a5e6ec34d6d9b66f71a95bfe0e7d33f0dc6183.tar.gz
prosody-38a5e6ec34d6d9b66f71a95bfe0e7d33f0dc6183.zip
util.startup: Access the hosts table via the prosody global for consistency
Diffstat (limited to 'util')
-rw-r--r--util/startup.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/startup.lua b/util/startup.lua
index d5df3a2f..aa277739 100644
--- a/util/startup.lua
+++ b/util/startup.lua
@@ -488,7 +488,7 @@ function startup.make_dummy_hosts()
prosody.core_post_stanza = function () end; -- TODO: mod_router!
for hostname in pairs(config.getconfig()) do
- hosts[hostname] = startup.make_host(hostname);
+ prosody.hosts[hostname] = startup.make_host(hostname);
end
end