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 | 38a5e6ec34d6d9b66f71a95bfe0e7d33f0dc6183 (patch) | |
tree | f32ff56a0e924767df34e7bf922895b5606871cb /util | |
parent | 100f78a8033192bde4e307779910f4e58f0dd8ec (diff) | |
download | prosody-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.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 |