diff options
author | Kim Alvefur <zash@zash.se> | 2018-03-29 16:38:35 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-03-29 16:38:35 +0200 |
commit | 585601be4ba63eaeff974400ad030c746412b890 (patch) | |
tree | f32ff56a0e924767df34e7bf922895b5606871cb | |
parent | 9ec7e4d6a823a1861fbde5ce7f59e59497c63770 (diff) | |
download | prosody-585601be4ba63eaeff974400ad030c746412b890.tar.gz prosody-585601be4ba63eaeff974400ad030c746412b890.zip |
util.startup: Access the hosts table via the prosody global for consistency
-rw-r--r-- | util/startup.lua | 2 |
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 |