aboutsummaryrefslogtreecommitdiffstats
path: root/main.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-11-08 20:32:30 +0000
committerMatthew Wild <mwild1@gmail.com>2008-11-08 20:32:30 +0000
commitc96a001744e0beb5f7bc5164da0c98c261b1aab8 (patch)
treef709fc6d037e432ce0fb3d1152c051dd20c47b8a /main.lua
parent4f4cb483324035cbc4e7beea05d1d377e7ddde36 (diff)
downloadprosody-c96a001744e0beb5f7bc5164da0c98c261b1aab8.tar.gz
prosody-c96a001744e0beb5f7bc5164da0c98c261b1aab8.zip
Add host field to local host sessions
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua2
1 files changed, 1 insertions, 1 deletions
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