diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-11-08 20:32:30 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-11-08 20:32:30 +0000 |
commit | c96a001744e0beb5f7bc5164da0c98c261b1aab8 (patch) | |
tree | f709fc6d037e432ce0fb3d1152c051dd20c47b8a | |
parent | 4f4cb483324035cbc4e7beea05d1d377e7ddde36 (diff) | |
download | prosody-c96a001744e0beb5f7bc5164da0c98c261b1aab8.tar.gz prosody-c96a001744e0beb5f7bc5164da0c98c261b1aab8.zip |
Add host field to local host sessions
-rw-r--r-- | main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |