X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=main.lua;h=eac26fe5fd188a87e79784ed2f7d2c77176d1b31;hb=cd3279ab658c0c2cf5586b385a3506673a7e6dd2;hp=ec883234d53881c8b05f151f08b62c42ec745b0c;hpb=9a62550ebdd3d95ff115b4fd7115afcafeed5452;p=prosody.git diff --git a/main.lua b/main.lua index ec883234..eac26fe5 100644 --- a/main.lua +++ b/main.lua @@ -17,7 +17,7 @@ hosts = {}; if config.hosts and #config.hosts > 0 then for _, host in pairs(config.hosts) do - hosts[host] = {type = "local", connected = true, sessions = {}}; + hosts[host] = {type = "local", connected = true, sessions = {}, host = host}; end else error("No hosts defined in the configuration file"); end