Software /
code /
prosody
Changeset
224:4b1e30ddd2bb
Add host field to local host sessions
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 08 Nov 2008 20:32:30 +0000 |
parents | 223:d5dffc919b33 |
children | 225:bbbd169b326b |
files | main.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/main.lua Sat Nov 08 00:17:00 2008 +0000 +++ b/main.lua Sat Nov 08 20:32:30 2008 +0000 @@ -17,7 +17,7 @@ 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