Software /
code /
prosody
Diff
util/startup.lua @ 8715:25d8d6091ec3
util.startup: Access the hosts table via the prosody global for consistency
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 29 Mar 2018 16:38:35 +0200 |
parent | 8713:48bd442f6d4d |
child | 8719:0cb84aafeee6 |
line wrap: on
line diff
--- a/util/startup.lua Thu Apr 05 16:00:00 2018 +0200 +++ b/util/startup.lua Thu Mar 29 16:38:35 2018 +0200 @@ -488,7 +488,7 @@ 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