aboutsummaryrefslogtreecommitdiffstats
path: root/util/startup.lua
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
commit585601be4ba63eaeff974400ad030c746412b890 (patch)
treef32ff56a0e924767df34e7bf922895b5606871cb /util/startup.lua
parent9ec7e4d6a823a1861fbde5ce7f59e59497c63770 (diff)
downloadprosody-585601be4ba63eaeff974400ad030c746412b890.tar.gz
prosody-585601be4ba63eaeff974400ad030c746412b890.zip
util.startup: Access the hosts table via the prosody global for consistency
Diffstat (limited to 'util/startup.lua')
-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